mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-02 00:43:11 +05:30
Code tidy
This commit is contained in:
parent
b57b497cb7
commit
5e6f0fc6a3
@ -172,7 +172,14 @@ class OAuthServerException extends \Exception
|
|||||||
*/
|
*/
|
||||||
public static function serverError($hint)
|
public static function serverError($hint)
|
||||||
{
|
{
|
||||||
return new static('\'The authorization server encountered an unexpected condition which prevented it from fulfilling the request.', 'server_errror', 500, $hint);
|
return new static(
|
||||||
|
'The authorization server encountered an unexpected condition which prevented it from fulfilling'
|
||||||
|
. 'the request.',
|
||||||
|
'server_error',
|
||||||
|
500,
|
||||||
|
$hint
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user