Skip to content

Commit

Permalink
[rector] Rector fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jul 25, 2024
1 parent c2ba568 commit 003a687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NodeAnalyzer/AttrinationFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function getByMany(
$phpDocInfo = $this->phpDocInfoFactory->createFromNode($property);
if ($phpDocInfo instanceof PhpDocInfo) {
$foundDoctrineAnnotationTagValueNode = $phpDocInfo->getByAnnotationClasses($classNames);
if ($foundDoctrineAnnotationTagValueNode) {
if ($foundDoctrineAnnotationTagValueNode instanceof DoctrineAnnotationTagValueNode) {
return $foundDoctrineAnnotationTagValueNode;
}
}
Expand Down

0 comments on commit 003a687

Please sign in to comment.