Skip to content

Commit

Permalink
refactor: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Apr 20, 2022
1 parent 72ef968 commit d899e0b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion system/Router/AutoRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ public function getRoute(string $uri): array
$controller .= $controllerName;

$controller = strtolower($controller);
$methodName = strtolower($this->methodName());

foreach ($this->protectedControllers as $controllerInRoute) {
if (! is_string($controllerInRoute)) {
Expand Down

0 comments on commit d899e0b

Please sign in to comment.