Passed
Push — master ( 22512a...e18acf )
by Marcio
04:52
created
src/Ballybran/Routing/Router/RouterCommand.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -115,14 +115,14 @@
 block discarded – undo
115 115
                 }
116 116
                 $controller = $this->resolveClass($middleware[0], $info['path'], $info['namespace']);
117 117
                 if (method_exists($controller, 'handle')) {
118
-                     $return =  call_user_func_array([$controller, 'handle'], $params);
119
-                     if($return != true) {
120
-                          echo $return;
121
-                          exit;
118
+                        $return =  call_user_func_array([$controller, 'handle'], $params);
119
+                        if($return != true) {
120
+                            echo $return;
121
+                            exit;
122 122
 
123 123
                         } else {
124
-                         return $return;
125
-                     }
124
+                            return $return;
125
+                        }
126 126
                     }
127 127
 
128 128
                 return $this->exception('handle() method is not found in <b>' . $command . '</b> class.');
Please login to merge, or discard this patch.