Completed
Push — v1.ns ( 6f7a44...3cce68 )
by Timo
03:08
created
src/Channel/PriorityChannel.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     protected function doSend(\PEIP\INF\Message\Message $message) {
55 55
         if ($this->capacity < 1 || $this->getMessageCount() <= $this->getCapacity()) {
56 56
             $this->queue->insert($message, $message->getHeader($this->priorityHeader));
57
-        }else {
57
+        } else {
58 58
             throw new \Exception('Not implemented yet.');
59 59
         }            
60 60
     }       
Please login to merge, or discard this patch.
src/Event/Observable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
          * @param $observer 
54 54
          * @return 
55 55
          */
56
-    public function addObserver(\PEIP\INF\Event\Observer $observer){
56
+    public function addObserver(\PEIP\INF\Event\Observer $observer) {
57 57
         $this->observers[] = $observer;     
58 58
     }
59 59
 
Please login to merge, or discard this patch.
src/Gateway/SimpleMessagingGateway.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,8 +114,7 @@
 block discarded – undo
114 114
         $this->send($content);
115 115
         try {
116 116
             $res = $this->receive();
117
-        }
118
-        catch (\Exception $e) {
117
+        } catch (\Exception $e) {
119 118
             return NULL;
120 119
         }
121 120
         return $res;
Please login to merge, or discard this patch.