Completed
Push — v1.ns ( 3cce68...ca9443 )
by Timo
03:14
created
src/Dispatcher/ObjectEventDispatcher.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,10 +46,10 @@
 block discarded – undo
46 46
                 if ($this->hasListeners($name, $object->getContent())) {
47 47
                     return self::doNotify($this->getListeners($name, $object->getContent()), $object);  
48 48
                 }                   
49
-            } else {
49
+            }else {
50 50
                 throw new \InvalidArgumentException('instance of \PEIP\INF\Event\Event must contain subject');
51 51
             }   
52
-        } else {
52
+        }else {
53 53
             throw new \InvalidArgumentException('object must be instance of \PEIP\INF\Event\Event');
54 54
         }  
55 55
     }   
Please login to merge, or discard this patch.
src/Dispatcher/ObjectMapDispatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
         $listners = $this->doGetListeners();
105 105
         if (!$this->hadListeners($name, $object)) {
106 106
             $res = false;
107
-        } else {
107
+        }else {
108 108
             $listners = $this->doGetListeners();
109 109
             $res = (boolean)count($listners[$object][$name]);
110 110
         }
Please login to merge, or discard this patch.
examples/Cafe/example.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 
58 58
     	}	
59 59
 
60
-} else {
60
+}else {
61 61
 	throw new RuntimeException('Could not get CafeGateway');
62 62
 }
63 63
 
Please login to merge, or discard this patch.