Skip to content

Commit c6de8ca

Browse files
committed
[PasswordHasher] fix copy paste typos from UserPasswordEncoderInterface
1 parent 71f02e9 commit c6de8ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Hasher/UserPasswordHasherInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
* @author Ariel Ferrandini <arielferrandini@gmail.com>
2020
*
2121
* @method string hashPassword(PasswordAuthenticatedUserInterface $user, string $plainPassword) Hashes the plain password for the given user.
22-
* @method string isPasswordValid(PasswordAuthenticatedUserInterface $user, string $plainPassword) Checks if the plaintext password matches the user's password.
23-
* @method bool needsRehash(PasswordAuthenticatedUserInterface $user) Checks if the plaintext password matches the user's password.
22+
* @method bool isPasswordValid(PasswordAuthenticatedUserInterface $user, string $plainPassword) Checks if the plaintext password matches the user's password.
23+
* @method bool needsRehash(PasswordAuthenticatedUserInterface $user) Checks if an encoded password would benefit from rehashing.
2424
*/
2525
interface UserPasswordHasherInterface
2626
{

0 commit comments

Comments
 (0)