@@ -19,7 +19,7 @@ |
||
| 19 | 19 | { |
| 20 | 20 | return function () use ($method) { |
| 21 | 21 | if (is_array($method[0])) { |
| 22 | - $method[] = []; |
|
| 22 | + $method[] = []; |
|
| 23 | 23 | $response = call_user_func_array(...$method); |
| 24 | 24 | } else { |
| 25 | 25 | $response = app()->call(...$method); |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | |
| 18 | 18 | public static function respondFrom($method) |
| 19 | 19 | { |
| 20 | - return function () use ($method) { |
|
| 20 | + return function() use ($method) { |
|
| 21 | 21 | if (is_array($method[0])) { |
| 22 | 22 | $method[] = []; |
| 23 | 23 | $response = call_user_func_array(...$method); |