From 19bd4763959a705956e069338504adff32d3ed6b Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Sat, 3 May 2014 11:13:36 +0100 Subject: [PATCH] Fix silly mistake --- src/Exception/ServerErrorException.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Exception/ServerErrorException.php b/src/Exception/ServerErrorException.php index e524c520..bdcec4dc 100644 --- a/src/Exception/ServerErrorException.php +++ b/src/Exception/ServerErrorException.php @@ -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); } }