@@ -114,13 +114,13 @@ |
||
| 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.'); |