thephpleague / oauth2-client

Easy integration with OAuth 2.0 service providers.

Home Page:http://oauth2-client.thephpleague.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecation notice with PHP 8.1

frenchcomp opened this issue · comments

Hi
There are a deprecation notice with PHP 8.1 in the AccessTokenInterface :

During inheritance of JsonSerializable: Uncaught Return type of League\OAuth2\Client\Token\AccessTokenInterface::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice.

Looks like its fixed by #919

commented

Hi,
Thanks for the fix.
When will you create a release with this fixes ?

Thanks for the fix.

Any chance to tag a new version please?

This is now fixed in version 2.6.1. Thanks!