mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-27 01:02:12 +05:30
Fix ServerRequestInterface docblock type
This commit is contained in:
parent
f8c2e721a0
commit
793000f149
@ -10,7 +10,7 @@
|
|||||||
namespace League\OAuth2\Server\Exception;
|
namespace League\OAuth2\Server\Exception;
|
||||||
|
|
||||||
use Psr\Http\Message\ResponseInterface;
|
use Psr\Http\Message\ResponseInterface;
|
||||||
use Psr\Http\Message\ServerRequest;
|
use Psr\Http\Message\ServerRequestInterface;
|
||||||
|
|
||||||
class OAuthServerException extends \Exception
|
class OAuthServerException extends \Exception
|
||||||
{
|
{
|
||||||
@ -40,7 +40,7 @@ class OAuthServerException extends \Exception
|
|||||||
private $payload;
|
private $payload;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var ServerRequest
|
* @var ServerRequestInterface
|
||||||
*/
|
*/
|
||||||
private $serverRequest;
|
private $serverRequest;
|
||||||
|
|
||||||
@ -93,7 +93,7 @@ class OAuthServerException extends \Exception
|
|||||||
/**
|
/**
|
||||||
* Set the server request that is responsible for generating the exception
|
* Set the server request that is responsible for generating the exception
|
||||||
*
|
*
|
||||||
* @param ServerRequest $serverRequest
|
* @param ServerRequestInterface $serverRequest
|
||||||
*/
|
*/
|
||||||
public function setServerRequest($serverRequest)
|
public function setServerRequest($serverRequest)
|
||||||
{
|
{
|
||||||
@ -133,7 +133,7 @@ class OAuthServerException extends \Exception
|
|||||||
/**
|
/**
|
||||||
* Invalid client error.
|
* Invalid client error.
|
||||||
*
|
*
|
||||||
* @param ServerRequest $serverRequest
|
* @param ServerRequestInterface $serverRequest
|
||||||
*
|
*
|
||||||
* @return static
|
* @return static
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user