From cca401e66eadf760009bb2a6c13ce232093478f3 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Wed, 23 Mar 2016 14:37:07 -0400 Subject: [PATCH] Applied fixes from StyleCI --- src/Grant/PasswordGrant.php | 1 - src/Repositories/ScopeRepositoryInterface.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Grant/PasswordGrant.php b/src/Grant/PasswordGrant.php index 1d2af5e6..40bf39d5 100644 --- a/src/Grant/PasswordGrant.php +++ b/src/Grant/PasswordGrant.php @@ -11,7 +11,6 @@ namespace League\OAuth2\Server\Grant; use League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface; -use League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface; use League\OAuth2\Server\Entities\Interfaces\UserEntityInterface; use League\OAuth2\Server\Exception\OAuthServerException; use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface; diff --git a/src/Repositories/ScopeRepositoryInterface.php b/src/Repositories/ScopeRepositoryInterface.php index 5b44c615..f8731fea 100644 --- a/src/Repositories/ScopeRepositoryInterface.php +++ b/src/Repositories/ScopeRepositoryInterface.php @@ -39,5 +39,5 @@ interface ScopeRepositoryInterface extends RepositoryInterface * * @return \League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface[] */ - public function finalizeScopes(array $scopes = [], ClientEntityInterface $clientEntity, $userIdentifier = null); + public function finalizeScopes(array $scopes, ClientEntityInterface $clientEntity, $userIdentifier = null); }