@@ -474,7 +474,7 @@ |
||
474 | 474 | private function refreshToken(): void |
475 | 475 | { |
476 | 476 | $now = round(microtime(true) * 1000); |
477 | - if (!$this->tokenTimestamp || round(($now - $this->tokenTimestamp)/1000) > 300) { |
|
477 | + if (!$this->tokenTimestamp || round(($now - $this->tokenTimestamp) / 1000) > 300) { |
|
478 | 478 | $token = $this->generateToken(); |
479 | 479 | $this->tokenTimestamp = $token['timestamp']; |
480 | 480 | $this->token = $token['token']; |