Completed
Push — v1.ns ( 3cce68...ca9443 )
by Timo
03:14
created
src/ABS/Handler/MessageHandler.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
         $this->inputChannel = $inputChannel;    
78 78
         if ($this->inputChannel instanceof \PEIP\INF\Channel\SubscribableChannel) {
79 79
                 $this->inputChannel->subscribe($this);
80
-        }else {          
80
+        } else {          
81 81
             $this->unwrapEvents = true;
82 82
             $this->inputChannel->connect('postSend', $this);
83 83
         }  
Please login to merge, or discard this patch.
src/Dispatcher/ObjectMapDispatcher.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@
 block discarded – undo
211 211
         foreach ($listeners as $listener) { 
212 212
                 if ($listener instanceof \PEIP\INF\Handler\Handler) {
213 213
                 $listener->handle($subject);
214
-                }elseif (is_callable($listener)) {
214
+                } elseif (is_callable($listener)) {
215 215
                     call_user_func($listener, $subject);
216 216
                 }
217 217
         }   
Please login to merge, or discard this patch.
src/Dispatcher/ClassEventDispatcher.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,10 +69,10 @@
 block discarded – undo
69 69
                         ),
70 70
                         $object
71 71
                     );
72
-            }else {
72
+            } else {
73 73
                 throw new \InvalidArgumentException('instance of \PEIP\INF\Event\Event must contain subject');
74 74
             }
75
-        }else {
75
+        } else {
76 76
             throw new \InvalidArgumentException('object must be instance of \PEIP\INF\Event\Event');
77 77
         }
78 78
     }       //put your code here
Please login to merge, or discard this patch.