@@ -18,7 +18,7 @@ |
||
| 18 | 18 | { |
| 19 | 19 | parent::__construct($init); |
| 20 | 20 | if ($init) |
| 21 | - $this->data->fullName = $fullName; |
|
| 21 | + $this->data->fullName = $fullName; |
|
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | /** |
@@ -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']; |