@@ -15,7 +15,7 @@ |
||
| 15 | 15 | public function __invoke(object $query, callable $next): Interfaces\Result |
| 16 | 16 | { |
| 17 | 17 | if ($query instanceof Interfaces\LoggableQuery) { |
| 18 | - $this->getLogger()->log((string) $query->getLogLevel(), $query->getLogMessage(), $query->getLogContext()); |
|
| 18 | + $this->getLogger()->log((string)$query->getLogLevel(), $query->getLogMessage(), $query->getLogContext()); |
|
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | return $next($query); |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | { |
| 31 | 31 | $next = $this->callStack; |
| 32 | 32 | |
| 33 | - $this->callStack = function (object $query) use ($middleware, $next): Interfaces\Result { |
|
| 33 | + $this->callStack = function(object $query) use ($middleware, $next): Interfaces\Result { |
|
| 34 | 34 | return $middleware($query, $next); |
| 35 | 35 | }; |
| 36 | 36 | |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | |
| 45 | 45 | private function seedCallStack(): callable |
| 46 | 46 | { |
| 47 | - return function (object $query): Interfaces\Result { |
|
| 47 | + return function(object $query): Interfaces\Result { |
|
| 48 | 48 | return $this->resolver->resolve($query)->handle($query, $this); |
| 49 | 49 | }; |
| 50 | 50 | } |