We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 88d1df4 + 3d7bdd2 commit 943fe39Copy full SHA for 943fe39
security/passwords.rst
@@ -518,13 +518,13 @@ migration by returning ``true`` in the ``needsRehash()`` method::
518
namespace App\Security;
519
520
// ...
521
- use Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface;
+ use Symfony\Component\PasswordHasher\PasswordHasherInterface;
522
523
- class CustomPasswordHasher implements UserPasswordHasherInterface
+ class CustomPasswordHasher implements PasswordHasherInterface
524
{
525
526
527
- public function needsRehash(string $hashed): bool
+ public function needsRehash(string $hashedPassword): bool
528
529
// check whether the current password is hashed using an outdated hasher
530
$hashIsOutdated = ...;
0 commit comments