Completed
Branch master (8739ac)
by Maxim
04:41
created
Category
src/Weew/Eventer/ContainerAware/Invokers/CallableInvoker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,6 @@
 block discarded – undo
24 24
      * @param IEvent $event
25 25
      */
26 26
     protected function invokeSubscriber(callable $subscriber, IEvent $event) {
27
-        $this->container->call($subscriber, ['event' => $event]);
27
+        $this->container->call($subscriber, [ 'event' => $event ]);
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
src/Weew/Eventer/ContainerAware/Invokers/SubscriberInvoker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,6 @@
 block discarded – undo
33 33
      * @param IEvent $event
34 34
      */
35 35
     protected function invokeSubscriber($subscriber, IEvent $event) {
36
-        $this->container->callMethod($subscriber, 'handle', ['event' => $event]);
36
+        $this->container->callMethod($subscriber, 'handle', [ 'event' => $event ]);
37 37
     }
38 38
 }
Please login to merge, or discard this patch.