@@ -21,7 +21,7 @@ |
||
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 | [ |
@@ -20,7 +20,7 @@ |
||
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 | [ |
@@ -40,7 +40,7 @@ |
||
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, |