From a49c76268341e836165d299b4c1dfa1c501a309a Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Wed, 23 Mar 2016 18:36:43 +0000 Subject: [PATCH] Remove injected array of scopes --- src/Repositories/UserRepositoryInterface.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Repositories/UserRepositoryInterface.php b/src/Repositories/UserRepositoryInterface.php index ad247a9b..b21503a7 100644 --- a/src/Repositories/UserRepositoryInterface.php +++ b/src/Repositories/UserRepositoryInterface.php @@ -3,7 +3,6 @@ namespace League\OAuth2\Server\Repositories; use League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface; -use League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface; interface UserRepositoryInterface extends RepositoryInterface { @@ -14,7 +13,6 @@ interface UserRepositoryInterface extends RepositoryInterface * @param string $password * @param string $grantType The grant type used * @param \League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface $clientEntity - * @param ScopeEntityInterface[] $scopes * * @return \League\OAuth2\Server\Entities\Interfaces\UserEntityInterface */ @@ -22,7 +20,6 @@ interface UserRepositoryInterface extends RepositoryInterface $username, $password, $grantType, - ClientEntityInterface $clientEntity, - array &$scopes + ClientEntityInterface $clientEntity ); }