mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-26 06:59:49 +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)
|
||||
{
|
||||
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