From 78b6bddc4de3f6a537e5fa39789434f15057c715 Mon Sep 17 00:00:00 2001 From: Mark Date: Wed, 20 Apr 2016 16:29:37 +0900 Subject: [PATCH] Remove redundant parameters --- src/Repositories/AccessTokenRepositoryInterface.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Repositories/AccessTokenRepositoryInterface.php b/src/Repositories/AccessTokenRepositoryInterface.php index aab8eab8..a3293344 100644 --- a/src/Repositories/AccessTokenRepositoryInterface.php +++ b/src/Repositories/AccessTokenRepositoryInterface.php @@ -10,7 +10,6 @@ namespace League\OAuth2\Server\Repositories; use League\OAuth2\Server\Entities\AccessTokenEntityInterface; -use League\OAuth2\Server\Entities\ClientEntityInterface; /** * Access token interface. @@ -20,13 +19,9 @@ interface AccessTokenRepositoryInterface extends RepositoryInterface /** * Create a new access token * - * @param \League\OAuth2\Server\Entities\ClientEntityInterface $clientEntity - * @param \League\OAuth2\Server\Entities\ScopeEntityInterface[] $scopes - * @param mixed $userIdentifier - * * @return AccessTokenEntityInterface */ - public function getNewToken(ClientEntityInterface $clientEntity, array $scopes, $userIdentifier = null); + public function getNewToken(); /** * Persists a new access token to permanent storage.