@@ -46,11 +46,11 @@ |
||
46 | 46 | $handlerDescriptor = new HandlerDescriptor($this->container->get($handlerDescriptor)); |
47 | 47 | } |
48 | 48 | |
49 | - if (! $handlerDescriptor instanceof HandlerDescriptor) { |
|
49 | + if ( ! $handlerDescriptor instanceof HandlerDescriptor) { |
|
50 | 50 | throw new InvalidArgumentException('Invalid handler descriptor provided'); |
51 | 51 | } |
52 | 52 | |
53 | - if (! $this->shouldHandle($envelope, $handlerDescriptor)) { |
|
53 | + if ( ! $this->shouldHandle($envelope, $handlerDescriptor)) { |
|
54 | 54 | continue; |
55 | 55 | } |
56 | 56 | $name = $handlerDescriptor->getName(); |
@@ -68,7 +68,7 @@ |
||
68 | 68 | */ |
69 | 69 | public static function __callStatic(string $name, array $arguments): MessageBusInterface |
70 | 70 | { |
71 | - if (! array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) { |
|
71 | + if ( ! array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) { |
|
72 | 72 | throw new InvalidArgumentException(sprintf( |
73 | 73 | 'The first argument must be of type %s', |
74 | 74 | ContainerInterface::class |