Passed
Push — master ( 491c64...c15fe8 )
by Nícollas
12:23
created
src/Router/RouteCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 
125 125
         $methods = array_map("strtoupper", $methods);
126 126
 
127
-        array_map(function ($method) use ($uri, $callback) {
127
+        array_map(function($method) use ($uri, $callback) {
128 128
             $this->routes[$method][$uri] = $this->addRouter($uri, $callback);
129 129
         }, $methods);
130 130
     }
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
     protected function dispatchRoute(): ?\Closure
323 323
     {
324 324
         if (!$route = $this->currentRoute) {
325
-            if($fallbackRoute = $this->getByName('fallback')) {
325
+            if ($fallbackRoute = $this->getByName('fallback')) {
326 326
                 return $this->executeRoute($fallbackRoute);
327 327
             }
328 328
             
Please login to merge, or discard this patch.