I am trying to use this framework but I am consistently hitting the below issue:
Fatal error: Declaration of OAuth2ServerExamples\Repositories\ClientRepository::getClientEntity(string $clientIdentifier): ?League\OAuth2\Server\Entities\ClientEntityInterface must be compatible with League\OAuth2\Server\Repositories\ClientRepositoryInterface::getClientEntity($clientIdentifier)
I cannot seem to get passed this problem. It happens when the AuthorizationServer object initializes and I try the /authorize flow. I might have a configuration wrong but I am not sure. Anybody have any ideas? Thanks in advance.
Hello,
I am trying to use this framework but I am consistently hitting the below issue:
Fatal error: Declaration of OAuth2ServerExamples\Repositories\ClientRepository::getClientEntity(string $clientIdentifier): ?League\OAuth2\Server\Entities\ClientEntityInterface must be compatible with League\OAuth2\Server\Repositories\ClientRepositoryInterface::getClientEntity($clientIdentifier)
I cannot seem to get passed this problem. It happens when the AuthorizationServer object initializes and I try the /authorize flow. I might have a configuration wrong but I am not sure. Anybody have any ideas? Thanks in advance.