@@ -326,7 +326,7 @@ |
||
| 326 | 326 | /** |
| 327 | 327 | * Display an error page |
| 328 | 328 | * |
| 329 | - * @return Response | string |
|
| 329 | + * @return string | string |
|
| 330 | 330 | * @since 1.0.0 |
| 331 | 331 | */ |
| 332 | 332 | public function actionError() |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | } |
| 198 | 198 | } |
| 199 | 199 | if ($response === null) { |
| 200 | - if(in_array('none', $promptValues, true)) { |
|
| 200 | + if (in_array('none', $promptValues, true)) { |
|
| 201 | 201 | /** @var \Oauth2\Controller\AuthorizeController $authController */ |
| 202 | 202 | $authController = $oauthServer->getAuthorizeController(); |
| 203 | 203 | $oauthResponse = $oauthServer->getResponse(); |
@@ -280,7 +280,7 @@ discard block |
||
| 280 | 280 | $requestedScopes[] = $dbScope; |
| 281 | 281 | } else { |
| 282 | 282 | $response = new OAuth2Response(); |
| 283 | - $response->setError(400, 'invalid_scope', 'Scope ' . $scope . ' does not exist.'); |
|
| 283 | + $response->setError(400, 'invalid_scope', 'Scope '.$scope.' does not exist.'); |
|
| 284 | 284 | $this->handleErrorResponse($response); |
| 285 | 285 | } |
| 286 | 286 | } |