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 794947a commit 44baf95Copy full SHA for 44baf95
system/Router/RouteCollection.php
@@ -1641,7 +1641,7 @@ public function getRegisteredControllers(?string $verb = '*'): array
1641
1642
if ($verb === '*') {
1643
foreach ($this->defaultHTTPMethods as $tmpVerb) {
1644
- foreach ($this->routes[$tmpVerb] as $routeKey => $route) {
+ foreach ($this->routes[$tmpVerb] as $route) {
1645
$controller = $this->getControllerName($route['handler']);
1646
if ($controller !== null) {
1647
$controllers[] = $controller;
0 commit comments