Skip to content

Commit

Permalink
[ci-review] Rector Rectify
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 11, 2021
1 parent c776312 commit 879913c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public function refactor(Node $node): ?Node
if ($phpDocInfo->hasByAnnotationClasses(self::DOCTRINE_ORM_MAPPING_ANNOTATION)) {
return null;
}

if ($phpDocInfo->hasByAnnotationClasses(self::DOCTRINE_ODM_MAPPING_ANNOTATION)) {
return null;
}
Expand Down Expand Up @@ -139,6 +140,7 @@ private function hasDoctrineAttr(Class_ $class): bool
if (in_array($className, self::DOCTRINE_ORM_MAPPING_ANNOTATION, true)) {
return true;
}

if (in_array($className, self::DOCTRINE_ODM_MAPPING_ANNOTATION, true)) {
return true;
}
Expand Down

0 comments on commit 879913c

Please sign in to comment.