@@ -159,7 +159,7 @@ |
||
159 | 159 | public function delayTimes($event, $ticks, $limit, callable $listener) |
160 | 160 | { |
161 | 161 | $counter = 0; |
162 | - return $this->times($event, $ticks+$limit-1, function(...$args) use(&$counter, $event, $ticks, $listener) { |
|
162 | + return $this->times($event, $ticks + $limit - 1, function(...$args) use(&$counter, $event, $ticks, $listener) { |
|
163 | 163 | if (++$counter >= $ticks) |
164 | 164 | { |
165 | 165 | $listener(...$args); |