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(),