Completed
Push — master ( 0495ee...f76e14 )
by Christian
14:59
created
src/Middleware/QueryLogger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/QueryBus.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.