Skip to content

Commit dc20c95

Browse files
committed
refactor: remove unused variable
1 parent 5eea88e commit dc20c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Router/RouteCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1641,7 +1641,7 @@ public function getRegisteredControllers(?string $verb = '*'): array
16411641

16421642
if ($verb === '*') {
16431643
foreach ($this->defaultHTTPMethods as $tmpVerb) {
1644-
foreach ($this->routes[$tmpVerb] as $routeKey => $route) {
1644+
foreach ($this->routes[$tmpVerb] as $route) {
16451645
$controller = $this->getControllerName($route['handler']);
16461646
if ($controller !== null) {
16471647
$controllers[] = $controller;

0 commit comments

Comments
 (0)