Skip to content

Commit 6fc971c

Browse files
committed
refactor: add typehint for method argument
1 parent f68ad7e commit 6fc971c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Router/AttributeRouteTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ private function registerControllerRoutes($controller): void
4242
}
4343
}
4444

45-
private function registerMethodRoutes($controller, $method): void
45+
private function registerMethodRoutes($controller, ReflectionMethod $method): void
4646
{
4747
$attributes = $method->getAttributes(Route::class);
4848

0 commit comments

Comments
 (0)