From 5e6f0fc6a342e7bdd4548996b025d92c61ba0475 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Thu, 14 Jan 2016 23:47:41 +0000 Subject: [PATCH] Code tidy --- src/Exception/OAuthServerException.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Exception/OAuthServerException.php b/src/Exception/OAuthServerException.php index a4575a10..0047cfec 100644 --- a/src/Exception/OAuthServerException.php +++ b/src/Exception/OAuthServerException.php @@ -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 + ); + } } /**