@@ -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); |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | /** |
| 63 | 63 | * Create a event manager with defined scopes |
| 64 | 64 | * |
| 65 | - * @param string|array $scopes |
|
| 65 | + * @param string $scopes |
|
| 66 | 66 | * @param EventInterface $event_proto event prototype if any |
| 67 | 67 | * @access public |
| 68 | 68 | */ |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | /** |
| 190 | 190 | * Get all event names of $this manager |
| 191 | 191 | * |
| 192 | - * @return array |
|
| 192 | + * @return integer[] |
|
| 193 | 193 | * @access protected |
| 194 | 194 | */ |
| 195 | 195 | protected function getEventNames()/*# : array */ |
@@ -201,7 +201,7 @@ discard block |
||
| 201 | 201 | * Get a merged queue in $this manager for the given event name |
| 202 | 202 | * |
| 203 | 203 | * @param string $eventName |
| 204 | - * @return EventQueueInterface |
|
| 204 | + * @return EventQueue |
|
| 205 | 205 | * @access protected |
| 206 | 206 | */ |
| 207 | 207 | protected function matchEventQueues( |