mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-09 05:23:53 +05:30
Fix silly mistake
This commit is contained in:
parent
7fada0964d
commit
19bd476395
@ -29,10 +29,10 @@ class ServerErrorException extends OAuthException
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function __construct(
|
||||
$parameter = 'The authorization server encountered an unexpected condition which prevented it from fulfilling'
|
||||
. 'the request.'
|
||||
) {
|
||||
public function __construct($parameter = null)
|
||||
{
|
||||
$parameter = is_null($parameter) ? 'The authorization server encountered an unexpected condition which prevented
|
||||
it from fulfilling the request.' : $parameter;
|
||||
parent::__construct($parameter);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user