@@ -217,7 +217,7 @@ |
||
| 217 | 217 | /** |
| 218 | 218 | * Set access token |
| 219 | 219 | * |
| 220 | - * @param null|Tokens\Access $accessToken Access token |
|
| 220 | + * @param Tokens\Access $accessToken Access token |
|
| 221 | 221 | * |
| 222 | 222 | * @return $this |
| 223 | 223 | */ |
@@ -51,7 +51,7 @@ |
||
| 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 | |