Completed
Push — master ( a34111...b893df )
by Park Jong-Hun
14:20
created
core/EventListenerRegister.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
                 ->getEventManager()
23 23
                     ->on(
24 24
                         $eventName,
25
-                        function () use ($handler) {
25
+                        function() use ($handler) {
26 26
                             $proc = new Proc($handler);
27 27
                             $proc->exec();
28 28
                         }
Please login to merge, or discard this patch.
config/event.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,18 +3,18 @@
 block discarded – undo
3 3
 return [
4 4
     'Controller' => [
5 5
         '*.*' => [
6
-            'before' => function () {
6
+            'before' => function() {
7 7
                 echo '<p>before all!</p>';
8 8
             },
9
-            'after' => function () {
9
+            'after' => function() {
10 10
                 echo '<p>after all!</p>';
11 11
             }
12 12
         ],
13 13
         'Test.event' => [
14
-            'before' => function () {
14
+            'before' => function() {
15 15
                 echo '<p>before Hook!</p>';
16 16
             },
17
-            'after' => function () {
17
+            'after' => function() {
18 18
                 echo '<p>after Hook!</p>';
19 19
             }
20 20
         ]
Please login to merge, or discard this patch.