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