You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If i have understand this warning on my Symfony 5.4 project and the 2.18.1 of the lexik bundle, the lexik bundle just need to add some phpdoc with @return mixed on the method Symfony\Component\Security\Core\Authentication\Token\TokenInterface::getCredentials().
User Deprecated: Method "Symfony\Component\Security\Core\Authentication\Token\TokenInterface::getCredentials()" might add mixed" as a native return type declaration in the future. Do the same in implementation "Lexik\Bundle\JWTAuthenticationBundle\Security\Authentication\Token\JWTUserToken" now to avoid errors or add an explicit @return annotation to suppress this message.
I have other deprecated like this if you want to correct it in the bundle.
The text was updated successfully, but these errors were encountered:
If i have understand this warning on my Symfony 5.4 project and the 2.18.1 of the lexik bundle, the lexik bundle just need to add some phpdoc with @return mixed on the method Symfony\Component\Security\Core\Authentication\Token\TokenInterface::getCredentials().
User Deprecated: Method "Symfony\Component\Security\Core\Authentication\Token\TokenInterface::getCredentials()" might add mixed" as a native return type declaration in the future. Do the same in implementation "Lexik\Bundle\JWTAuthenticationBundle\Security\Authentication\Token\JWTUserToken" now to avoid errors or add an explicit @return annotation to suppress this message.
I have other deprecated like this if you want to correct it in the bundle.
The text was updated successfully, but these errors were encountered: