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
Maybe I am missing something in configuration or documentation, but the application I maintain has a User entity that implements LegacyPasswordAuthenticatedUserInterface, thus including the PasswordAuthenticatedUserInterface it has both the getSalt() and getPassword() methods. But phpstan complains about using these methods:
57 Call to an undefined method Symfony\Component\Security\Core\User\LegacyPasswordAuthenticatedUserInterface::setPassword().
58 Call to an undefined method Symfony\Component\Security\Core\User\LegacyPasswordAuthenticatedUserInterface::setSalt().
The text was updated successfully, but these errors were encountered:
alcohol
changed the title
Stubs overruling actual interface
Stubs overruling actual interface ?
Apr 20, 2023
Maybe I am missing something in configuration or documentation, but the application I maintain has a
User
entity that implementsLegacyPasswordAuthenticatedUserInterface
, thus including thePasswordAuthenticatedUserInterface
it has both thegetSalt()
andgetPassword()
methods. But phpstan complains about using these methods:The text was updated successfully, but these errors were encountered: