Skip to content

Commit

Permalink
chore: fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko authored and github-actions[bot] committed Dec 15, 2024
1 parent 938f737 commit c028707
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ private static function invoke($handler, $params = [])
$handler,
$params
);
} else if (stripos($handler, '@') !== false) {
} elseif (stripos($handler, '@') !== false) {
list($controller, $method) = explode('@', $handler);

if (!class_exists($controller)) {
Expand All @@ -883,7 +883,7 @@ private static function invoke($handler, $params = [])
if (forward_static_call_array([$controller, $method], $params) === false)
;
}
} else if (strpos($handler, ':') !== false) {
} elseif (strpos($handler, ':') !== false) {
$middlewareParams = [];

$middlewareParams = explode(':', $handler);
Expand Down

0 comments on commit c028707

Please sign in to comment.