@@ -65,7 +65,7 @@ |
||
65 | 65 | */ |
66 | 66 | public static function __callStatic(string $name, array $arguments): TransportInterface |
67 | 67 | { |
68 | - if (! array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) { |
|
68 | + if ( ! array_key_exists(0, $arguments) || ! $arguments[0] instanceof ContainerInterface) { |
|
69 | 69 | throw new InvalidArgumentException(sprintf( |
70 | 70 | 'The first argument must be of type %s', |
71 | 71 | ContainerInterface::class |
@@ -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(); |