Skip to content

Update from 2.3.0 to 2.4.0 fails #752

@fzieris

Description

@fzieris

Context: Symfony project with dependency "league/oauth2-google": "^2.2", which in turn depends on oauth2-client.

So far, I had oauth2-client installed in version 2.3.0, but upon composer update I get the following error message, after the upgrade to 2.4.0:

Fatal error: Declaration of League\OAuth2\Client\Provider\Google::getResourceOwnerDetailsUrl(League\OAuth2\Client\Token\AccessToken $token) must be compatible with League\OAuth2\Client\Provider\AbstractProvider::getResourceOwnerDetailsUrl(League\OAuth2\Client\Token\AccessTokenInterface $token) in G:\XXX\vendor\league\oauth2-google\src\Provider\Google.php on line 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions