@@ -98,7 +98,7 @@ |
||
| 98 | 98 | */ |
| 99 | 99 | public function polling() : void |
| 100 | 100 | { |
| 101 | - if ($this->nearest > 0 && $this->nearest -- > 0) { |
|
| 101 | + if ($this->nearest > 0 && $this->nearest-- > 0) { |
|
| 102 | 102 | return; |
| 103 | 103 | } |
| 104 | 104 | |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | { |
| 41 | 41 | $this->daemons[$key] = $daemon; |
| 42 | 42 | |
| 43 | - $refresher = co(function () use ($key) { |
|
| 43 | + $refresher = co(function() use ($key) { |
|
| 44 | 44 | $this->values[$key] = yield $this->daemons[$key](); |
| 45 | 45 | }); |
| 46 | 46 | |