[PasswordHasher] fix copy paste typos from UserPasswordEncoderInterface

This commit is contained in:
Martin Hujer 2021-04-22 22:56:35 +02:00
parent abeb8e4ca9
commit dfc3584fb7

View File

@ -19,8 +19,8 @@ use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;
* @author Ariel Ferrandini <arielferrandini@gmail.com> * @author Ariel Ferrandini <arielferrandini@gmail.com>
* *
* @method string hashPassword(PasswordAuthenticatedUserInterface $user, string $plainPassword) Hashes the plain password for the given user. * @method string hashPassword(PasswordAuthenticatedUserInterface $user, string $plainPassword) Hashes the plain password for the given user.
* @method string isPasswordValid(PasswordAuthenticatedUserInterface $user, string $plainPassword) Checks if the plaintext password matches the user's password. * @method bool isPasswordValid(PasswordAuthenticatedUserInterface $user, string $plainPassword) Checks if the plaintext password matches the user's password.
* @method bool needsRehash(PasswordAuthenticatedUserInterface $user) Checks if the plaintext password matches the user's password. * @method bool needsRehash(PasswordAuthenticatedUserInterface $user) Checks if an encoded password would benefit from rehashing.
*/ */
interface UserPasswordHasherInterface interface UserPasswordHasherInterface
{ {