From 72cd9a62e174a7900c427922c2586b32be377219 Mon Sep 17 00:00:00 2001 From: ismail BASKIN Date: Sat, 30 Apr 2016 05:08:28 +0300 Subject: [PATCH 1/3] Remove unused request property --- src/Grant/AbstractGrant.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Grant/AbstractGrant.php b/src/Grant/AbstractGrant.php index cdbd04ff..ca66d26b 100644 --- a/src/Grant/AbstractGrant.php +++ b/src/Grant/AbstractGrant.php @@ -35,11 +35,6 @@ abstract class AbstractGrant implements GrantTypeInterface const SCOPE_DELIMITER_STRING = ' '; - /** - * @var ServerRequestInterface - */ - protected $request; - /** * @var ClientRepositoryInterface */ From 88b19ad2d0972beb320cbb0f04d7163fee5e4944 Mon Sep 17 00:00:00 2001 From: ismail BASKIN Date: Wed, 4 May 2016 00:54:36 +0300 Subject: [PATCH 2/3] Correct wrong phpdoc --- src/AuthorizationServer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AuthorizationServer.php b/src/AuthorizationServer.php index 6eb7b5d6..6b7a972b 100644 --- a/src/AuthorizationServer.php +++ b/src/AuthorizationServer.php @@ -156,7 +156,7 @@ class AuthorizationServer implements EmitterAwareInterface * @param \League\OAuth2\Server\RequestTypes\AuthorizationRequest $authRequest * @param \Psr\Http\Message\ResponseInterface $response * - * @return \League\OAuth2\Server\ResponseTypes\ResponseTypeInterface + * @return \Psr\Http\Message\ResponseInterface */ public function completeAuthorizationRequest(AuthorizationRequest $authRequest, ResponseInterface $response) { From 0bb968f413ed89e8b92ca6deac597d67e5d84b27 Mon Sep 17 00:00:00 2001 From: Lee Date: Wed, 4 May 2016 15:13:48 +0800 Subject: [PATCH 3/3] Fixed typo in exception string --- src/Grant/ImplicitGrant.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Grant/ImplicitGrant.php b/src/Grant/ImplicitGrant.php index f3a74ced..d07c55a4 100644 --- a/src/Grant/ImplicitGrant.php +++ b/src/Grant/ImplicitGrant.php @@ -41,7 +41,7 @@ class ImplicitGrant extends AbstractAuthorizeGrant */ public function setRefreshTokenTTL(\DateInterval $refreshTokenTTL) { - throw new \LogicException('The Implicit Grant does nto return refresh tokens'); + throw new \LogicException('The Implicit Grant does not return refresh tokens'); } /** @@ -51,7 +51,7 @@ class ImplicitGrant extends AbstractAuthorizeGrant */ public function setRefreshTokenRepository(RefreshTokenRepositoryInterface $refreshTokenRepository) { - throw new \LogicException('The Implicit Grant does nto return refresh tokens'); + throw new \LogicException('The Implicit Grant does not return refresh tokens'); } /**