@@ -92,6 +92,7 @@ |
||
| 92 | 92 | |
| 93 | 93 | /** |
| 94 | 94 | * {@inheritdoc} |
| 95 | + * @param \Psr\Http\Message\StreamInterface $body |
|
| 95 | 96 | */ |
| 96 | 97 | protected function parseAccessToken($body) |
| 97 | 98 | { |
@@ -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 | /** |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | * |
| 46 | 46 | * @param \Symfony\Component\HttpFoundation\Request $request |
| 47 | 47 | * @param string $clientId |
| 48 | - * @param array $componentCredits |
|
| 48 | + * @param array $componentCredentials |
|
| 49 | 49 | * @param string|null $redirectUrl |
| 50 | 50 | */ |
| 51 | 51 | public function __construct(Request $request, $clientId, array $componentCredentials, $redirectUrl = null) |