@@ -484,7 +484,7 @@ |
||
| 484 | 484 | /** |
| 485 | 485 | * Put state to session storage and return it. |
| 486 | 486 | * |
| 487 | - * @return string|bool |
|
| 487 | + * @return false|string |
|
| 488 | 488 | */ |
| 489 | 489 | protected function makeState() |
| 490 | 490 | { |
@@ -100,7 +100,7 @@ |
||
| 100 | 100 | */ |
| 101 | 101 | public function has($key) |
| 102 | 102 | { |
| 103 | - return (bool) $this->get($key); |
|
| 103 | + return (bool)$this->get($key); |
|
| 104 | 104 | } |
| 105 | 105 | |
| 106 | 106 | /** |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | public function getAccessToken($code) |
| 59 | 59 | { |
| 60 | 60 | $response = $this->getHttpClient() |
| 61 | - ->post($this->getTokenUrl(), ['form_params' => $this->getTokenFields($code)]); |
|
| 61 | + ->post($this->getTokenUrl(), ['form_params' => $this->getTokenFields($code)]); |
|
| 62 | 62 | |
| 63 | 63 | return $this->parseAccessToken($response->getBody()); |
| 64 | 64 | } |