Skip to content

Commit ec15c3b

Browse files
[Routing] Revert native return types on AnnotationClassLoader
1 parent 8ed561b commit ec15c3b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Loader/AnnotationClassLoader.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,10 @@ protected function createRoute(string $path, array $defaults, array $requirement
359359
return new Route($path, $defaults, $requirements, $options, $host, $schemes, $methods, $condition);
360360
}
361361

362-
abstract protected function configureRoute(Route $route, \ReflectionClass $class, \ReflectionMethod $method, object $annot): void;
362+
/**
363+
* @return void
364+
*/
365+
abstract protected function configureRoute(Route $route, \ReflectionClass $class, \ReflectionMethod $method, object $annot);
363366

364367
/**
365368
* @param \ReflectionClass|\ReflectionMethod $reflection

0 commit comments

Comments
 (0)