From 0cc13630ccf34276add87aa5f86143763aa404f8 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Sun, 17 Jan 2016 13:54:55 +0000 Subject: [PATCH] Cody tidy --- src/Grant/ClientCredentialsGrant.php | 2 -- src/Grant/RefreshTokenGrant.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Grant/ClientCredentialsGrant.php b/src/Grant/ClientCredentialsGrant.php index 05f6a917..a52b9385 100644 --- a/src/Grant/ClientCredentialsGrant.php +++ b/src/Grant/ClientCredentialsGrant.php @@ -11,8 +11,6 @@ namespace League\OAuth2\Server\Grant; -use League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface; -use League\OAuth2\Server\Exception\OAuthServerException; use League\OAuth2\Server\ResponseTypes\ResponseTypeInterface; use Psr\Http\Message\ServerRequestInterface; diff --git a/src/Grant/RefreshTokenGrant.php b/src/Grant/RefreshTokenGrant.php index 21fe4f39..b84c24c7 100644 --- a/src/Grant/RefreshTokenGrant.php +++ b/src/Grant/RefreshTokenGrant.php @@ -125,7 +125,7 @@ class RefreshTokenGrant extends AbstractGrant throw OAuthServerException::invalidRefreshToken( 'Token is not linked to client,' . ' got: ' . $clientId . - ' expected: '. $refreshTokenData['client_id'] + ' expected: ' . $refreshTokenData['client_id'] ); }