diff --git a/examples/src/Repositories/UserRepository.php b/examples/src/Repositories/UserRepository.php index 4038fc88..403a568d 100644 --- a/examples/src/Repositories/UserRepository.php +++ b/examples/src/Repositories/UserRepository.php @@ -15,7 +15,7 @@ class UserRepository implements UserRepositoryInterface * * @param string $username * @param string $password - * @param string $grantType The grant type used + * @param string $grantType The grant type used * @param \League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface $clientEntity * @param ScopeEntityInterface[] $scopes * diff --git a/src/Grant/PasswordGrant.php b/src/Grant/PasswordGrant.php index a399e5f7..7f5b5407 100644 --- a/src/Grant/PasswordGrant.php +++ b/src/Grant/PasswordGrant.php @@ -68,8 +68,9 @@ class PasswordGrant extends AbstractGrant * @param \League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface $client * @param ScopeEntityInterface[] $scopes * - * @return \League\OAuth2\Server\Entities\Interfaces\UserEntityInterface * @throws \League\OAuth2\Server\Exception\OAuthServerException + * + * @return \League\OAuth2\Server\Entities\Interfaces\UserEntityInterface */ protected function validateUser(ServerRequestInterface $request, ClientEntityInterface $client, array &$scopes) { diff --git a/src/Repositories/UserRepositoryInterface.php b/src/Repositories/UserRepositoryInterface.php index c0705649..ad247a9b 100644 --- a/src/Repositories/UserRepositoryInterface.php +++ b/src/Repositories/UserRepositoryInterface.php @@ -12,7 +12,7 @@ interface UserRepositoryInterface extends RepositoryInterface * * @param string $username * @param string $password - * @param string $grantType The grant type used + * @param string $grantType The grant type used * @param \League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface $clientEntity * @param ScopeEntityInterface[] $scopes *