Skip to content

Commit c028707

Browse files
mychidarkogithub-actions[bot]
authored andcommitted
chore: fix styling
1 parent 938f737 commit c028707

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Router.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ private static function invoke($handler, $params = [])
865865
$handler,
866866
$params
867867
);
868-
} else if (stripos($handler, '@') !== false) {
868+
} elseif (stripos($handler, '@') !== false) {
869869
list($controller, $method) = explode('@', $handler);
870870

871871
if (!class_exists($controller)) {
@@ -883,7 +883,7 @@ private static function invoke($handler, $params = [])
883883
if (forward_static_call_array([$controller, $method], $params) === false)
884884
;
885885
}
886-
} else if (strpos($handler, ':') !== false) {
886+
} elseif (strpos($handler, ':') !== false) {
887887
$middlewareParams = [];
888888

889889
$middlewareParams = explode(':', $handler);

0 commit comments

Comments
 (0)