Remove redundant parameters

This commit is contained in:
Mark 2016-04-20 16:29:37 +09:00
parent 14b6761c0f
commit 78b6bddc4d

View File

@ -10,7 +10,6 @@
namespace League\OAuth2\Server\Repositories; namespace League\OAuth2\Server\Repositories;
use League\OAuth2\Server\Entities\AccessTokenEntityInterface; use League\OAuth2\Server\Entities\AccessTokenEntityInterface;
use League\OAuth2\Server\Entities\ClientEntityInterface;
/** /**
* Access token interface. * Access token interface.
@ -20,13 +19,9 @@ interface AccessTokenRepositoryInterface extends RepositoryInterface
/** /**
* Create a new access token * Create a new access token
* *
* @param \League\OAuth2\Server\Entities\ClientEntityInterface $clientEntity
* @param \League\OAuth2\Server\Entities\ScopeEntityInterface[] $scopes
* @param mixed $userIdentifier
*
* @return AccessTokenEntityInterface * @return AccessTokenEntityInterface
*/ */
public function getNewToken(ClientEntityInterface $clientEntity, array $scopes, $userIdentifier = null); public function getNewToken();
/** /**
* Persists a new access token to permanent storage. * Persists a new access token to permanent storage.