Completed
Push — master ( 59de81...ff59ac )
by Garrett
01:20
created
src/Observer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
         // filter out any that don't begin with "on"
100 100
         $methods = array_filter(
101 101
             $methods,
102
-            function (\ReflectionMethod $m) {
102
+            function(\ReflectionMethod $m) {
103 103
                 return (strpos($m->name, 'on') === 0);
104 104
             }
105 105
         ); // slow, both array_filter and closure
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 
155 155
         // filter out auto-handlers so that a subsequent call to subscribe()
156 156
         // works predictably
157
-        $this->handlers = array_filter($this->handlers, function ($v) {
157
+        $this->handlers = array_filter($this->handlers, function($v) {
158 158
             return (strpos($v[0][1], 'on') !== 0);
159 159
         });
160 160
 
Please login to merge, or discard this patch.
src/Manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -265,7 +265,7 @@
 block discarded – undo
265 265
         // scaffold if not exist
266 266
         if (!$this->hasSubscribers($eventName)) {
267 267
             $this->subscribers[$eventName] = [
268
-                [ // insert positions
268
+                [// insert positions
269 269
                     self::PRIORITY_URGENT => 1,
270 270
                     self::PRIORITY_HIGHEST => 1,
271 271
                     self::PRIORITY_HIGH => 1,
Please login to merge, or discard this patch.