@@ -53,7 +53,7 @@ |
||
53 | 53 | $this->is_wildcard = in_array(self::WILDCARD, $available_extensions, true); |
54 | 54 | $this->available_extensions |
55 | 55 | = empty($available_extensions) ? ['' => true] |
56 | - : array_fill_keys($available_extensions, true) ; |
|
56 | + : array_fill_keys($available_extensions, true); |
|
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | $split_path = array_values(array_filter(explode('/', $path), 'strlen')); |
70 | 70 | $count = count($split_path); |
71 | 71 | |
72 | - $ext = ''; |
|
72 | + $ext = ''; |
|
73 | 73 | |
74 | 74 | if ($count > 0) { |
75 | 75 | $file = explode('.', $split_path[$count - 1], 2); |
@@ -134,12 +134,12 @@ discard block |
||
134 | 134 | |
135 | 135 | $method = array_shift($action_tuple); |
136 | 136 | $path = array_shift($action_tuple); |
137 | - $value = array_shift($action_tuple) ?: true ; |
|
138 | - $params = array_shift($action_tuple) ?: [] ; |
|
137 | + $value = array_shift($action_tuple) ?: true; |
|
138 | + $params = array_shift($action_tuple) ?: []; |
|
139 | 139 | $action = Action::create($method, $path, $value, $ext, $params); |
140 | 140 | |
141 | 141 | if (!empty($action->param_pos)) { |
142 | - $count = count($action->split_path); |
|
142 | + $count = count($action->split_path); |
|
143 | 143 | if (!isset($this->variable_actions[$count])) { |
144 | 144 | $this->variable_actions[$count] = []; |
145 | 145 | } |