thephpleague/oauth2-client

New release breaks providers with AccessToken to AccessTokenInterface

scuben opened this issue · 4 comments

The abstract method abstract public function getResourceOwnerDetailsUrl(AccessTokenInterface $token); from src/Provider/AbstractProvider.php is now a problem as a provider has still public function getResourceOwnerDetailsUrl(AccessToken $token). This results in a "Declaration of must be compatible with" kind of error.

Same error as in #752

closed in favour of #752 (2 minutes earlier :))

Please check release 2.4.1 and confirm that it fixes this issue. Thanks!

Thank you for this fix! I fought with this for a bit, but see that you guys just pushed fix 👌