@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | $this->tokenType = $tokenType; |
| 52 | 52 | $this->expiresIn = $expiresIn; |
| 53 | 53 | $this->createdAt = new \DateTime(); |
| 54 | - $this->expiresAt = new \DateTime();; |
|
| 54 | + $this->expiresAt = new \DateTime(); ; |
|
| 55 | 55 | $this->expiresAt->add(new \DateInterval('PT'.$this->expiresIn.'S')); |
| 56 | 56 | } |
| 57 | 57 | |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | */ |
| 73 | 73 | public function isExpired() |
| 74 | 74 | { |
| 75 | - if ($this->expiresAt > new \DateTime()){ |
|
| 75 | + if ($this->expiresAt > new \DateTime()) { |
|
| 76 | 76 | return false; |
| 77 | 77 | } |
| 78 | 78 | |