From 793000f149e15323b59d6a591e0c2615c74076c2 Mon Sep 17 00:00:00 2001 From: Andrew Millington Date: Sun, 13 May 2018 17:52:45 +0100 Subject: [PATCH] Fix ServerRequestInterface docblock type --- src/Exception/OAuthServerException.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Exception/OAuthServerException.php b/src/Exception/OAuthServerException.php index ddd4c534..345b99a0 100644 --- a/src/Exception/OAuthServerException.php +++ b/src/Exception/OAuthServerException.php @@ -10,7 +10,7 @@ namespace League\OAuth2\Server\Exception; use Psr\Http\Message\ResponseInterface; -use Psr\Http\Message\ServerRequest; +use Psr\Http\Message\ServerRequestInterface; class OAuthServerException extends \Exception { @@ -40,7 +40,7 @@ class OAuthServerException extends \Exception private $payload; /** - * @var ServerRequest + * @var ServerRequestInterface */ private $serverRequest; @@ -93,7 +93,7 @@ class OAuthServerException extends \Exception /** * Set the server request that is responsible for generating the exception * - * @param ServerRequest $serverRequest + * @param ServerRequestInterface $serverRequest */ public function setServerRequest($serverRequest) { @@ -133,7 +133,7 @@ class OAuthServerException extends \Exception /** * Invalid client error. * - * @param ServerRequest $serverRequest + * @param ServerRequestInterface $serverRequest * * @return static */