Skip to content

Commit 1fa47d1

Browse files
committed
refactor: remove unused variable
1 parent 719b11c commit 1fa47d1

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
@@ -1656,7 +1656,7 @@ public function getRegisteredControllers(?string $verb = '*'): array
16561656

16571657
if ($verb === '*') {
16581658
foreach ($this->defaultHTTPMethods as $tmpVerb) {
1659-
foreach ($this->routes[$tmpVerb] as $routeKey => $route) {
1659+
foreach ($this->routes[$tmpVerb] as $route) {
16601660
$controller = $this->getControllerName($route['handler']);
16611661
if ($controller !== null) {
16621662
$controllers[] = $controller;

0 commit comments

Comments
 (0)