Skip to content

Commit 7a46f7d

Browse files
alamiraultnicolas-grekas
authored andcommitted
[Routing] Rename annotations to attribute in AttributeClassLoader
1 parent 8a7df87 commit 7a46f7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Routing/AttributeRouteControllerLoader.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class AttributeRouteControllerLoader extends AttributeClassLoader
2626
/**
2727
* Configures the _controller default parameter of a given Route instance.
2828
*/
29-
protected function configureRoute(Route $route, \ReflectionClass $class, \ReflectionMethod $method, object $annot): void
29+
protected function configureRoute(Route $route, \ReflectionClass $class, \ReflectionMethod $method, object $attr): void
3030
{
3131
if ('__invoke' === $method->getName()) {
3232
$route->setDefault('_controller', $class->getName());

0 commit comments

Comments
 (0)