@@ -90,7 +90,6 @@ discard block |
||
90 | 90 | /** |
91 | 91 | * standardize events definition |
92 | 92 | * |
93 | - * @param array $eventsDefinition |
|
94 | 93 | * @return array |
95 | 94 | * @access protected |
96 | 95 | */ |
@@ -112,8 +111,6 @@ discard block |
||
112 | 111 | /** |
113 | 112 | * standardize to array of 'method1' or ['method1', 20] |
114 | 113 | * |
115 | - * @param ListenerInterface $listener |
|
116 | - * @param string $eventName |
|
117 | 114 | * @param mixed $data |
118 | 115 | * @return array |
119 | 116 | * @access protected |
@@ -92,7 +92,7 @@ |
||
92 | 92 | /*# int */ $priority = 50 |
93 | 93 | ) { |
94 | 94 | // wrap the callable |
95 | - $wrapper = function (EventInterface $event) use ($callable, $times) { |
|
95 | + $wrapper = function(EventInterface $event) use ($callable, $times) { |
|
96 | 96 | static $cnt = 0; |
97 | 97 | if ($cnt++ < $times) { |
98 | 98 | call_user_func($callable, $event); |