@@ -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); |
@@ -28,7 +28,8 @@ |
||
| 28 | 28 | * |
| 29 | 29 | */ |
| 30 | 30 | public function __construct() |
| 31 | - {} |
|
| 31 | + { |
|
| 32 | +} |
|
| 32 | 33 | |
| 33 | 34 | /** |
| 34 | 35 | * |