@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | $this->matchedRoutes = $this->findMatches($uri); |
103 | 103 | |
104 | 104 | if (empty($this->matchedRoutes)) { |
105 | - stop(function () { |
|
105 | + stop(function() { |
|
106 | 106 | $this->handleNotFound(); |
107 | 107 | }); |
108 | 108 | } |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | $routePattern = '(\/)?'; |
204 | 204 | $routeParams = []; |
205 | 205 | |
206 | - $lastIndex = (int)array_key_last($routeSegments); |
|
206 | + $lastIndex = (int) array_key_last($routeSegments); |
|
207 | 207 | |
208 | 208 | foreach ($routeSegments as $index => $segment) { |
209 | 209 | $segmentParam = $this->checkSegment($segment, $index, $lastIndex); |