Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
DerManoMann committed Oct 11, 2024
1 parent 17cec76 commit 9a7c97d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Analysers/AttributeAnnotationFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function build(\Reflector $reflector, Context $context): array

// Attachables can always be nested (unless explicitly restricted)
return ($isAttachable && $isParentAllowed)
|| ($annotation->getRoot() != $possibleParent->getRoot() && $explicitParent);
|| ($annotation->getRoot() !== $possibleParent->getRoot() && $explicitParent);
};

$annotationsWithoutParent = [];
Expand Down

0 comments on commit 9a7c97d

Please sign in to comment.