Passed
Push — master ( c1f5d7...161beb )
by Dan
03:08
created
Src/Router/Adaptor/FastRouteAdaptor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
         $this->options = $options;
136 136
 
137 137
         return \FastRoute\cachedDispatcher(
138
-            function (RouteCollector $fastRouteCollector) use ($routes) {
138
+            function(RouteCollector $fastRouteCollector) use ($routes) {
139 139
                 /**
140 140
                  * @var $route RouteInterface
141 141
                  */
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
             }
229 229
             $routes = (array)require $cacheFile;
230 230
             foreach ($routes[0] as $routeMethod => $routeData) {
231
-                foreach ($routeData as $routePattern => $routeContent){
231
+                foreach ($routeData as $routePattern => $routeContent) {
232 232
                     $routePath = \rtrim($context, '/') . DIRECTORY_SEPARATOR . \ltrim($routePattern, '/');
233 233
                     $collection->addRoute($routeMethod, $routePath, $routeContent['content'], $routeContent['name']);
234 234
                 }
Please login to merge, or discard this patch.