Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 896f4a6

Browse filesBrowse 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
Copy full SHA for 896f4a6

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎src/Symfony/Component/PasswordHasher/Hasher/UserPasswordHasherInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/PasswordHasher/Hasher/UserPasswordHasherInterface.php
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.