Deprecation notice with PHP 8.1
frenchcomp opened this issue · comments
Richard Déloge commented
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.
Igor Scheller commented
Looks like its fixed by #919
Selvi commented
Hi,
Thanks for the fix.
When will you create a release with this fixes ?
Richard Déloge commented
Thanks for the fix.
Jakub Vojáček commented
Any chance to tag a new version please?
Ben Ramsey commented
This is now fixed in version 2.6.1. Thanks!