Skip to content

Commit a9b9342

Browse files
committed
refactor: remove unused variable
1 parent e969f1d commit a9b9342

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

16861686
if ($verb === '*') {
16871687
foreach ($this->defaultHTTPMethods as $tmpVerb) {
1688-
foreach ($this->routes[$tmpVerb] as $routeKey => $route) {
1688+
foreach ($this->routes[$tmpVerb] as $route) {
16891689
$controller = $this->getControllerName($route['handler']);
16901690
if ($controller !== null) {
16911691
$controllers[] = $controller;

0 commit comments

Comments
 (0)