@@ -46,7 +46,7 @@ |
||
46 | 46 | */ |
47 | 47 | public function registerPeriodicTimer(Topic $topic): void { |
48 | 48 | $n = 1; |
49 | - $this->periodicTimer->addPeriodicTimer($this, 'ping', 5, function () use ($topic, &$n) { |
|
49 | + $this->periodicTimer->addPeriodicTimer($this, 'ping', 5, function() use ($topic, &$n) { |
|
50 | 50 | $topic->broadcast(['ping' => $n]); |
51 | 51 | |
52 | 52 | ++$n; |