@@ -92,7 +92,7 @@ |
||
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | - * @param array $parameters |
|
| 95 | + * @param string[] $parameters |
|
| 96 | 96 | * @param string $name |
| 97 | 97 | * |
| 98 | 98 | * @return null|string |
@@ -92,7 +92,7 @@ |
||
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | - * @param array $parameters |
|
| 95 | + * @param string[] $parameters |
|
| 96 | 96 | * @param string $name |
| 97 | 97 | * |
| 98 | 98 | * @return null|string |
@@ -92,7 +92,7 @@ |
||
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | - * @param array $parameters |
|
| 95 | + * @param string[] $parameters |
|
| 96 | 96 | * @param string $name |
| 97 | 97 | * |
| 98 | 98 | * @return null|string |
@@ -92,7 +92,7 @@ |
||
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | - * @param array $parameters |
|
| 95 | + * @param string[] $parameters |
|
| 96 | 96 | * @param string $name |
| 97 | 97 | * |
| 98 | 98 | * @return null|string |
@@ -92,7 +92,7 @@ |
||
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | - * @param array $parameters |
|
| 95 | + * @param string[] $parameters |
|
| 96 | 96 | * @param string $name |
| 97 | 97 | * |
| 98 | 98 | * @return null|string |
@@ -83,7 +83,7 @@ |
||
| 83 | 83 | |
| 84 | 84 | /** |
| 85 | 85 | * @param array|null $scopes |
| 86 | - * @param ClientInterface|null $client |
|
| 86 | + * @param ClientInterface $client |
|
| 87 | 87 | * |
| 88 | 88 | * @return array [bool $isScopeValid, string[]|null $scopeList, bool $isScopeModified] |
| 89 | 89 | */ |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | */ |
| 29 | 29 | const DEFAULT_MESSAGES = [ |
| 30 | 30 | self::ERROR_INVALID_REQUEST => |
| 31 | - 'The request is missing a required parameter, includes an invalid parameter value, ' . |
|
| 31 | + 'The request is missing a required parameter, includes an invalid parameter value, '. |
|
| 32 | 32 | 'includes a parameter more than once, or is otherwise malformed.', |
| 33 | 33 | |
| 34 | 34 | self::ERROR_UNAUTHORIZED_CLIENT => |
@@ -44,11 +44,11 @@ discard block |
||
| 44 | 44 | 'The requested scope is invalid, unknown, or malformed.', |
| 45 | 45 | |
| 46 | 46 | self::ERROR_SERVER_ERROR => |
| 47 | - 'The authorization server encountered an unexpected condition ' . |
|
| 47 | + 'The authorization server encountered an unexpected condition '. |
|
| 48 | 48 | 'that prevented it from fulfilling the request.', |
| 49 | 49 | |
| 50 | 50 | self::ERROR_TEMPORARILY_UNAVAILABLE => |
| 51 | - 'The authorization server is currently unable to handle the request due to ' . |
|
| 51 | + 'The authorization server is currently unable to handle the request due to '. |
|
| 52 | 52 | 'a temporary overloading or maintenance of the server.', |
| 53 | 53 | ]; |
| 54 | 54 | } |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | */ |
| 29 | 29 | const DEFAULT_MESSAGES = [ |
| 30 | 30 | self::ERROR_INVALID_REQUEST => |
| 31 | - 'The request is missing a required parameter, includes an invalid parameter value, ' . |
|
| 31 | + 'The request is missing a required parameter, includes an invalid parameter value, '. |
|
| 32 | 32 | 'includes a parameter more than once, or is otherwise malformed.', |
| 33 | 33 | |
| 34 | 34 | self::ERROR_UNAUTHORIZED_CLIENT => |
@@ -44,11 +44,11 @@ discard block |
||
| 44 | 44 | 'The requested scope is invalid, unknown, or malformed.', |
| 45 | 45 | |
| 46 | 46 | self::ERROR_SERVER_ERROR => |
| 47 | - 'The authorization server encountered an unexpected condition ' . |
|
| 47 | + 'The authorization server encountered an unexpected condition '. |
|
| 48 | 48 | 'that prevented it from fulfilling the request.', |
| 49 | 49 | |
| 50 | 50 | self::ERROR_TEMPORARILY_UNAVAILABLE => |
| 51 | - 'The authorization server is currently unable to handle the request due to ' . |
|
| 51 | + 'The authorization server is currently unable to handle the request due to '. |
|
| 52 | 52 | 'a temporary overloading or maintenance of the server.', |
| 53 | 53 | ]; |
| 54 | 54 | } |
@@ -71,24 +71,24 @@ |
||
| 71 | 71 | * @link https://tools.ietf.org/html/rfc6749#section-5.2 |
| 72 | 72 | */ |
| 73 | 73 | const DEFAULT_MESSAGES = [ |
| 74 | - self::ERROR_INVALID_REQUEST => 'The request is missing a required parameter, includes an unsupported ' . |
|
| 75 | - 'parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes ' . |
|
| 74 | + self::ERROR_INVALID_REQUEST => 'The request is missing a required parameter, includes an unsupported '. |
|
| 75 | + 'parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes '. |
|
| 76 | 76 | 'more than one mechanism for authenticating the client, or is otherwise malformed.', |
| 77 | 77 | |
| 78 | - self::ERROR_INVALID_CLIENT => 'Client authentication failed (e.g., unknown client, no client ' . |
|
| 78 | + self::ERROR_INVALID_CLIENT => 'Client authentication failed (e.g., unknown client, no client '. |
|
| 79 | 79 | 'authentication included, or unsupported authentication method).', |
| 80 | 80 | |
| 81 | - self::ERROR_INVALID_GRANT => 'The provided authorization grant (e.g., authorization code, resource owner ' . |
|
| 82 | - 'credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in ' . |
|
| 81 | + self::ERROR_INVALID_GRANT => 'The provided authorization grant (e.g., authorization code, resource owner '. |
|
| 82 | + 'credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in '. |
|
| 83 | 83 | 'the authorization request, or was issued to another client.', |
| 84 | 84 | |
| 85 | - self::ERROR_UNAUTHORIZED_CLIENT => 'The authenticated client is not authorized to use this ' . |
|
| 85 | + self::ERROR_UNAUTHORIZED_CLIENT => 'The authenticated client is not authorized to use this '. |
|
| 86 | 86 | 'authorization grant type.', |
| 87 | 87 | |
| 88 | - self::ERROR_UNSUPPORTED_GRANT_TYPE => 'The authorization grant type is not supported by the ' . |
|
| 88 | + self::ERROR_UNSUPPORTED_GRANT_TYPE => 'The authorization grant type is not supported by the '. |
|
| 89 | 89 | 'authorization server.', |
| 90 | 90 | |
| 91 | - self::ERROR_INVALID_SCOPE => 'The requested scope is invalid, unknown, malformed, or exceeds the scope ' . |
|
| 91 | + self::ERROR_INVALID_SCOPE => 'The requested scope is invalid, unknown, malformed, or exceeds the scope '. |
|
| 92 | 92 | 'granted by the resource owner.', |
| 93 | 93 | ]; |
| 94 | 94 | |