thephpleague/oauth2-client

Deprecation notice with PHP 8.1

frenchcomp opened this issue · 5 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

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!