Passed
Branch 0.1.x (308069)
by Koldo
08:07
created
Category
src/Container/QueryBusFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
         /** @psalm-suppress MixedArgumentTypeCoercion */
23 23
         return new QueryBus(new CommandBus(array_merge(
24
-            array_map(static function (string $middleware) use ($container) {
24
+            array_map(static function(string $middleware) use ($container) {
25 25
                 return $container->get($middleware);
26 26
             }, $config->getMiddleware()),
27 27
             [
Please login to merge, or discard this patch.
src/Container/CommandBusFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 
21 21
         /** @psalm-suppress MixedArgumentTypeCoercion */
22 22
         return new CommandBus(array_merge(
23
-            array_map(static function (string $middleware) use ($container) {
23
+            array_map(static function(string $middleware) use ($container) {
24 24
                 return $container->get($middleware);
25 25
             }, $config->getMiddleware()),
26 26
             [
Please login to merge, or discard this patch.
src/Container/Config/ConfigProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
             CommandBus::class => CommandBusFactory::class,
41 41
             QueryBus::class => QueryBusFactory::class,
42 42
             HandlerLocator::class => [HandlerLocatorFactory::class, 'command_bus'],
43
-            'query_bus.handler_locator' => [HandlerLocatorFactory::class, 'query_bus'],        ],
43
+            'query_bus.handler_locator' => [HandlerLocatorFactory::class, 'query_bus'], ],
44 44
         'invokables' => [
45 45
             MethodNameInflector::class => InvokeInflector::class,
46 46
             CommandNameExtractor::class => ClassNameExtractor::class,
Please login to merge, or discard this patch.