We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 133a3c8 commit f1e462cCopy full SHA for f1e462c
src/AnnotationLoader.php
@@ -99,7 +99,7 @@ public function build(?string ...$annotationClass): void
99
}
100
101
102
- foreach ((array) $annotationClass as $annotation) {
+ foreach (\array_unique((array) $annotationClass) as $annotation) {
103
$loadedAnnotation = \array_filter($annotations[$annotation] ?? []);
104
105
if (isset($this->listeners[$annotation])) {
0 commit comments