@@ -105,8 +105,7 @@ discard block |
||
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 |
||
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( |