Completed
Push — master ( 017b80...dacaa0 )
by Vítor
02:05
created
src/Factory/Util/RoutesInspectorFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     {
25 25
         /** @var array $config */
26 26
         $config = $serviceLocator->get('config');
27
-        $config = isset($config['router']['routes']) ? $config['router']['routes'] : [];
27
+        $config = isset($config[ 'router' ][ 'routes' ]) ? $config[ 'router' ][ 'routes' ] : [ ];
28 28
 
29 29
         /** @var RouteInterface $router */
30 30
         $router = $serviceLocator->get('router');
Please login to merge, or discard this patch.
src/Util/RoutesInspector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,6 +47,6 @@
 block discarded – undo
47 47
             return $router->getRoutes();
48 48
         }
49 49
 
50
-        return [];
50
+        return [ ];
51 51
     }
52 52
 }
Please login to merge, or discard this patch.