Completed
Push — master ( 19a002...9e523e )
by Anderson
02:02
created
src/Middleware/Request.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -117,16 +117,16 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Core/Route.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1003,7 +1003,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.