Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 896f4a6

Browse files
committed
minor #40915 [PasswordHasher] fix copy paste typos from UserPasswordEncoderInterface (mhujer)
This PR was merged into the 5.3-dev branch. Discussion ---------- [PasswordHasher] fix copy paste typos from UserPasswordEncoderInterface | Q | A | ------------- | --- | Branch? | 5.x | Bug fix? | yes | New feature? | no | Deprecations? | no | License | MIT Fix typos introduced when extracting the PasswordHasher component from `UserPasswordEncoderInterface` https://github.com/symfony/symfony/blob/abeb8e4ca9adfcc1494df22af9fd9a1c0181b532/src/Symfony/Component/Security/Core/Encoder/UserPasswordEncoderInterface.php#L36 Discovered in 5.3.0BETA1. Commits ------- dfc3584 [PasswordHasher] fix copy paste typos from UserPasswordEncoderInterface
2 parents 84a514c + dfc3584 commit 896f4a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/PasswordHasher/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 <[email protected]>
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)