Skip to content

Commit 7b80d68

Browse files
Fixed typo: "anntotations" => "annotations"
Fixed typo: "anntotations" => "annotations"
1 parent 1133d7d commit 7b80d68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Loader/AnnotationClassLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,11 +368,11 @@ private function getAnnotations(object $reflection): iterable
368368
return;
369369
}
370370

371-
$anntotations = $reflection instanceof \ReflectionClass
371+
$annotations = $reflection instanceof \ReflectionClass
372372
? $this->reader->getClassAnnotations($reflection)
373373
: $this->reader->getMethodAnnotations($reflection);
374374

375-
foreach ($anntotations as $annotation) {
375+
foreach ($annotations as $annotation) {
376376
if ($annotation instanceof $this->routeAnnotationClass) {
377377
yield $annotation;
378378
}

0 commit comments

Comments
 (0)