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 1133d7d commit 7b80d68Copy full SHA for 7b80d68
Loader/AnnotationClassLoader.php
@@ -368,11 +368,11 @@ private function getAnnotations(object $reflection): iterable
368
return;
369
}
370
371
- $anntotations = $reflection instanceof \ReflectionClass
+ $annotations = $reflection instanceof \ReflectionClass
372
? $this->reader->getClassAnnotations($reflection)
373
: $this->reader->getMethodAnnotations($reflection);
374
375
- foreach ($anntotations as $annotation) {
+ foreach ($annotations as $annotation) {
376
if ($annotation instanceof $this->routeAnnotationClass) {
377
yield $annotation;
378
0 commit comments