Skip to content

Commit

Permalink
chore: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Dec 15, 2024
1 parent 3d7ec1e commit 938f737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ private static function invoke($handler, $params = [])
if (call_user_func_array([new $controller(), $method], $params) === false) {
// Try to call the method as a non-static method. (the if does nothing, only avoids the notice)
if (forward_static_call_array([$controller, $method], $params) === false)
;
;
}
} else if (strpos($handler, ':') !== false) {
$middlewareParams = [];
Expand Down

0 comments on commit 938f737

Please sign in to comment.