Passed
Push — master ( 538bfb...4ecc96 )
by Hesham
49s
created
src/LumenerServiceProvider.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -39,9 +39,9 @@  discard block
 block discarded – undo
39 39
         }
40 40
         if (isset($route_options['middleware'])) {
41 41
             $route_options['middleware'] =
42
-             array_unique(array_merge(
43
-                 array_keys($this->middleware),
44
-                 is_array($route_options['middleware']) ?
42
+                array_unique(array_merge(
43
+                    array_keys($this->middleware),
44
+                    is_array($route_options['middleware']) ?
45 45
                   $route_options['middleware'] : [$route_options['middleware']]
46 46
             ));
47 47
         } else {
@@ -77,9 +77,9 @@  discard block
 block discarded – undo
77 77
             foreach ($route['action'] as $key => $value) {
78 78
                 if ($key == "middleware") {
79 79
                     $this->route_options['middleware'] =
80
-                     array_unique(array_merge(
81
-                         $this->route_options['middleware'],
82
-                         is_array($value) ? $value : [$value]
80
+                        array_unique(array_merge(
81
+                            $this->route_options['middleware'],
82
+                            is_array($value) ? $value : [$value]
83 83
                     ));
84 84
                 } elseif ($key == "uses") {
85 85
                     $this->route_options[$key] = "\\{$value}";
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
             $router->get(
102 102
                 $this->route_path.'/resources',
103 103
                 ['uses' => 'LumenerController@getResource',
104
-                 'as' => 'lumener-resources']
104
+                    'as' => 'lumener-resources']
105 105
             );
106 106
         });
107 107
     }
@@ -178,6 +178,6 @@  discard block
 block discarded – undo
178 178
                 'command.lumener.update',
179 179
                 'command.lumener.stylize',
180 180
                 'command.lumener.plugin'
181
-             ];
181
+                ];
182 182
     }
183 183
 }
Please login to merge, or discard this patch.