@@ -57,7 +57,7 @@ |
||
| 57 | 57 | $this->failHook($exception); |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | - return tap($value, function ($value) { |
|
| 60 | + return tap($value, function($value) { |
|
| 61 | 61 | $this->successHook($value); |
| 62 | 62 | }); |
| 63 | 63 | } |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | protected function resolveAndCall($instance, $method, $extras = []) |
| 14 | 14 | { |
| 15 | 15 | if (!method_exists($instance, $method)) { |
| 16 | - throw new MethodDoesNotExistException("method $method not found on " . get_class($instance)); |
|
| 16 | + throw new MethodDoesNotExistException("method $method not found on ".get_class($instance)); |
|
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | $parameters = $this->resolveMethodDependencies($instance, $method, $extras); |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | { |
| 26 | 26 | $reflector = new ReflectionMethod($instance, $method); |
| 27 | 27 | |
| 28 | - $handler = function ($parameter) use ($extras) { |
|
| 28 | + $handler = function($parameter) use ($extras) { |
|
| 29 | 29 | return $this->resolveDependency($parameter, $extras); |
| 30 | 30 | }; |
| 31 | 31 | |