@@ -27,7 +27,7 @@ discard block  | 
                                                    ||
| 27 | 27 | |
| 28 | 28 | public function __construct($container)  | 
                                                        
| 29 | 29 |      { | 
                                                        
| 30 | -        if (!$container instanceof PsrContainerInterface && !$container instanceof ContainerInterface) { | 
                                                        |
| 30 | +        if ( ! $container instanceof PsrContainerInterface && ! $container instanceof ContainerInterface) { | 
                                                        |
| 31 | 31 |              throw new \InvalidArgumentException(sprintf('The container must be an instance of %s or %s (%s given).', PsrContainerInterface::class, ContainerInterface::class, is_object($container) ? get_class($container) : gettype($container))); | 
                                                        
| 32 | 32 | }  | 
                                                        
| 33 | 33 | |
@@ -42,11 +42,11 @@ discard block  | 
                                                    ||
| 42 | 42 | $listeners = parent::initializeListeners($eventName, $loweredClass, $format);  | 
                                                        
| 43 | 43 | |
| 44 | 44 |          foreach ($listeners as &$listener) { | 
                                                        
| 45 | -            if (!is_array($listener) || !is_string($listener[0])) { | 
                                                        |
| 45 | +            if ( ! is_array($listener) || ! is_string($listener[0])) { | 
                                                        |
| 46 | 46 | continue;  | 
                                                        
| 47 | 47 | }  | 
                                                        
| 48 | 48 | |
| 49 | -            if (!$this->container->has($listener[0])) { | 
                                                        |
| 49 | +            if ( ! $this->container->has($listener[0])) { | 
                                                        |
| 50 | 50 | continue;  | 
                                                        
| 51 | 51 | }  | 
                                                        
| 52 | 52 | |
@@ -28,7 +28,7 @@ discard block  | 
                                                    ||
| 28 | 28 | |
| 29 | 29 | public function __construct($container, array $handlers = array())  | 
                                                        
| 30 | 30 |      { | 
                                                        
| 31 | -        if (!$container instanceof PsrContainerInterface && !$container instanceof ContainerInterface) { | 
                                                        |
| 31 | +        if ( ! $container instanceof PsrContainerInterface && ! $container instanceof ContainerInterface) { | 
                                                        |
| 32 | 32 |              throw new \InvalidArgumentException(sprintf('The container must be an instance of %s or %s (%s given).', PsrContainerInterface::class, ContainerInterface::class, is_object($container) ? get_class($container) : gettype($container))); | 
                                                        
| 33 | 33 | }  | 
                                                        
| 34 | 34 | |
@@ -48,7 +48,7 @@ discard block  | 
                                                    ||
| 48 | 48 | return $this->initializedHandlers[$direction][$typeName][$format];  | 
                                                        
| 49 | 49 | }  | 
                                                        
| 50 | 50 | |
| 51 | -        if (!isset($this->handlers[$direction][$typeName][$format])) { | 
                                                        |
| 51 | +        if ( ! isset($this->handlers[$direction][$typeName][$format])) { | 
                                                        |
| 52 | 52 | return null;  | 
                                                        
| 53 | 53 | }  | 
                                                        
| 54 | 54 | |