Passed
Push — master ( a55a9e...118d9b )
by Alex
02:17 queued 45s
created
src/Factory/EventDispatcherFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
             $listenerProvider = $this->listenerProviderFactory->create($listenerProvider);
67 67
         }
68 68
 
69
-        if (! $listenerProvider instanceof ListenerProviderInterface) {
69
+        if (!$listenerProvider instanceof ListenerProviderInterface) {
70 70
             throw new FactoryException(sprintf(
71 71
                 'The \'listener_provider\' configuration option must be of type \'%s\'; \'%s\' provided in \'%s\'',
72 72
                 ListenerProviderInterface::class,
Please login to merge, or discard this patch.
src/Factory/Listener/ListenerProviderFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
         }
42 42
 
43 43
         if (is_string($eventNameResolver)) {
44
-            if (! is_a($eventNameResolver, EventNameResolverInterface::class, true)) {
44
+            if (!is_a($eventNameResolver, EventNameResolverInterface::class, true)) {
45 45
                 throw new FactoryException(sprintf(
46 46
                     'The event name resolver must be a class that implements \'%s\'; \'%s\' provided in \'%s\'.',
47 47
                     EventNameResolverInterface::class,
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
             $eventNameResolver = new $eventNameResolver();
54 54
         }
55 55
 
56
-        if (! $eventNameResolver instanceof EventNameResolverInterface) {
56
+        if (!$eventNameResolver instanceof EventNameResolverInterface) {
57 57
             throw new FactoryException(sprintf(
58 58
                 'The event name resolver must be an object that implements \'%s\'; \'%s\' provided in \'%s\'.',
59 59
                 EventNameResolverInterface::class,
Please login to merge, or discard this patch.
src/Listener/LazyListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
      */
77 77
     protected function getDefaultListenerFactory(): callable
78 78
     {
79
-        return static function (string $className, array $arguments = []) {
79
+        return static function(string $className, array $arguments = []) {
80 80
             return new $className($arguments);
81 81
         };
82 82
     }
Please login to merge, or discard this patch.