@@ -117,16 +117,16 @@ |
||
| 117 | 117 | |
| 118 | 118 | // Redirect to 404 if not enough parameters provided |
| 119 | 119 | |
| 120 | - if(count($path_args) < count($route_args['required'])) |
|
| 120 | + if (count($path_args) < count($route_args['required'])) |
|
| 121 | 121 | redirect(Route::get404()->path); |
| 122 | 122 | |
| 123 | - if(count($path_args) == 0) |
|
| 123 | + if (count($path_args) == 0) |
|
| 124 | 124 | { |
| 125 | 125 | $this->CI->{$this->route->method}(); |
| 126 | 126 | } |
| 127 | 127 | else |
| 128 | 128 | { |
| 129 | - call_user_func_array( [$this->CI, $this->route->method], array_values($path_args) ); |
|
| 129 | + call_user_func_array([$this->CI, $this->route->method], array_values($path_args)); |
|
| 130 | 130 | } |
| 131 | 131 | |
| 132 | 132 | |
@@ -1003,7 +1003,7 @@ |
||
| 1003 | 1003 | { |
| 1004 | 1004 | for ($i = 0; $i < count($e_findPath); $i++) |
| 1005 | 1005 | { |
| 1006 | - if(in_array($i, $skip_seg)) |
|
| 1006 | + if (in_array($i, $skip_seg)) |
|
| 1007 | 1007 | continue; |
| 1008 | 1008 | |
| 1009 | 1009 | if ($valid) |