Fix silly mistake

This commit is contained in:
Alex Bilbie 2014-05-03 11:13:36 +01:00
parent 7fada0964d
commit 19bd476395

View File

@ -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);
}
}