From 1512960d9228dea1c02c58bbbe27811cfff94dd6 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Sun, 10 Apr 2016 09:23:10 -0400 Subject: [PATCH] Applied fixes from StyleCI --- src/Grant/AbstractGrant.php | 4 ++-- src/Grant/ImplicitGrant.php | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Grant/AbstractGrant.php b/src/Grant/AbstractGrant.php index fd7b1e48..ac5591f5 100644 --- a/src/Grant/AbstractGrant.php +++ b/src/Grant/AbstractGrant.php @@ -193,8 +193,8 @@ abstract class AbstractGrant implements GrantTypeInterface /** * Validate scopes in the request. * - * @param string $scopes - * @param string $redirectUri + * @param string $scopes + * @param string $redirectUri * * @throws \League\OAuth2\Server\Exception\OAuthServerException * diff --git a/src/Grant/ImplicitGrant.php b/src/Grant/ImplicitGrant.php index 66100e7d..9df55546 100644 --- a/src/Grant/ImplicitGrant.php +++ b/src/Grant/ImplicitGrant.php @@ -152,7 +152,6 @@ class ImplicitGrant extends AbstractAuthorizeGrant // The user approved the client, redirect them back with an access token if ($authorizationRequest->isAuthorizationApproved() === true) { - $accessToken = $this->issueAccessToken( $this->accessTokenTTL, $authorizationRequest->getClient(),