Completed
Push — master ( 705569...50fbec )
by dan
02:16
created
Channel/EventChannel.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,8 +72,7 @@
 block discarded – undo
72 72
         try {
73 73
             if (!empty($this->dispatchers[$dispatcherKey])) {
74 74
                 $this->dispatchers[$dispatcherKey]->dispatch($message);
75
-            }
76
-            else {
75
+            } else {
77 76
                 throw new MessageDispatchException(
78 77
                     sprintf('No dispatcher available with key "%s"', $dispatcherKey)
79 78
                 );
Please login to merge, or discard this patch.
Test/Channel/EventChannelTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,8 @@
 block discarded – undo
21 21
         $this->notification = $this->getNotificationWithUser();
22 22
 
23 23
         $this->eventDispatcher = $this->getMockBuilder(EventDispatcherInterface::class)
24
-                                      ->disableOriginalConstructor()
25
-                                      ->getMock();
24
+                                        ->disableOriginalConstructor()
25
+                                        ->getMock();
26 26
 
27 27
         $this->eventChannel = new EventChannel($this->eventDispatcher);
28 28
     }
Please login to merge, or discard this patch.