Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClientRepository is not implementing the interface properly #1

Open
ammardev opened this issue Dec 22, 2019 · 0 comments
Open

ClientRepository is not implementing the interface properly #1

ammardev opened this issue Dec 22, 2019 · 0 comments

Comments

@ammardev
Copy link

Hello, When I make a request to /oauth/token I get this error:
image

The error as a text:

PHP Fatal error:  Declaration of Luqta\LaravelPassportMongoDB\Bridge\ClientRepository::getClientEntity($clientIdentifier, $grantType, $clientSecret = NULL, $mustValidateSecret = true) must be compatible with League\OAuth2\Server\Repositories\ClientRepositoryInterface::getClientEntity($clientIdentifier) in /var/www/ApiGateway/vendor/luqta/laravel-passport-mongodb/src/Bridge/ClientRepository.php on line 8

In ClientRepository.php line 8:
                                                                                                                                                                                      
  Declaration of Luqta\LaravelPassportMongoDB\Bridge\ClientRepository::getClientEntity($clientIdentifier, $grantType, $clientSecret = NULL, $mustValidateSecret = true) must be comp  
  atible with League\OAuth2\Server\Repositories\ClientRepositoryInterface::getClientEntity($clientIdentifier)                                                                         
                                                                                                                                                                                      


In ClientRepository.php line 8:
                                                                                                                                                                                      
  Declaration of Luqta\LaravelPassportMongoDB\Bridge\ClientRepository::getClientEntity($clientIdentifier, $grantType, $clientSecret = NULL, $mustValidateSecret = true) must be comp  
  atible with League\OAuth2\Server\Repositories\ClientRepositoryInterface::getClientEntity($clientIdentifier)                                                                         
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant