Passed
Push — master ( 0c953d...ecc215 )
by Julián
08:51
created
src/ContainerAwareCommandHandlerLocator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
                     ));
63 63
                 }
64 64
 
65
-                $handlerCallable = function (Command $command) use ($handler): void {
65
+                $handlerCallable = function(Command $command) use ($handler): void {
66 66
                     $handler->handle($command);
67 67
                 };
68 68
 
Please login to merge, or discard this patch.
src/CommandHandlerLocator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     public function __construct(array $handlers)
38 38
     {
39 39
         $handlers = \array_map(
40
-            function ($handler) {
40
+            function($handler) {
41 41
                 if (!\is_array($handler)) {
42 42
                     $handler = [$handler];
43 43
                 }
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
                     ));
70 70
                 }
71 71
 
72
-                $handlerCallable = function (Command $command) use ($handler): void {
72
+                $handlerCallable = function(Command $command) use ($handler): void {
73 73
                     $handler->handle($command);
74 74
                 };
75 75
 
Please login to merge, or discard this patch.
src/QueryHandlerLocator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     public function __construct(array $handlers)
40 40
     {
41 41
         $handlers = \array_map(
42
-            function ($handler) {
42
+            function($handler) {
43 43
                 if (!\is_array($handler)) {
44 44
                     $handler = [$handler];
45 45
                 }
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
                     ));
79 79
                 }
80 80
 
81
-                $handlerCallable = function (Query $query) use ($handler): DTO {
81
+                $handlerCallable = function(Query $query) use ($handler): DTO {
82 82
                     return $handler->handle($query);
83 83
                 };
84 84
 
Please login to merge, or discard this patch.
src/ContainerAwareQueryHandlerLocator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
                     ));
65 65
                 }
66 66
 
67
-                $handlerCallable = function (Query $query) use ($handler): DTO {
67
+                $handlerCallable = function(Query $query) use ($handler): DTO {
68 68
                     return $handler->handle($query);
69 69
                 };
70 70
 
Please login to merge, or discard this patch.