Completed
Push — master ( 017b80...dacaa0 )
by Vítor
02:05
created
src/Module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function getModuleDependencies()
27 27
     {
28
-        return ['AssetManager'];
28
+        return [ 'AssetManager' ];
29 29
     }
30 30
 
31 31
     /**
Please login to merge, or discard this patch.
src/Controller/Http/IndexController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     public function indexAction()
22 22
     {
23 23
         $this->layout(Module::DEFAULT_LAYOUT);
24
-        $view = new ViewModel([]);
24
+        $view = new ViewModel([ ]);
25 25
         $view->setTemplate(Package::FQPN . '/index/index');
26 26
 
27 27
         return $view;
Please login to merge, or discard this patch.
src/Controller/Http/RoutesController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     public function indexAction()
22 22
     {
23 23
         $this->layout(Module::DEFAULT_LAYOUT);
24
-        $view = new ViewModel([]);
24
+        $view = new ViewModel([ ]);
25 25
         $view->setTemplate(Package::FQPN . '/index/index');
26 26
 
27 27
         return $view;
Please login to merge, or discard this patch.
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.