Passed
Push — master ( 19adec...2aba55 )
by Frédéric
57s queued 12s
created
src/Routing/LocaleRouter.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -105,8 +105,7 @@  discard block
 block discarded – undo
105 105
     protected function convertToControllerAction($action)
106 106
     {
107 107
         return is_string($action) || is_array($action) || is_a($action, Closure::class) ?
108
-            ['uses' => $action] :
109
-            $action;
108
+            ['uses' => $action] : $action;
110 109
     }
111 110
 
112 111
     protected function fillAction($locale, $route, $action, $options): array
@@ -132,7 +131,7 @@  discard block
 block discarded – undo
132 131
         $only = ['index', 'show', 'store', 'update', 'destroy'];
133 132
 
134 133
         if (isset($options['except'])) {
135
-            $only = array_diff($only, (array)$options['except']);
134
+            $only = array_diff($only, (array) $options['except']);
136 135
         }
137 136
 
138 137
         $this->resource(
Please login to merge, or discard this patch.