| @@ -99,7 +99,7 @@ discard block | ||
| 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 | ||
| 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 | |
| @@ -265,7 +265,7 @@ | ||
| 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, |