Skip to content

Commit 439c9ea

Browse files
committed
[Security] Do not make PasswordUpgraderInterface a generic
1 parent 2e2d79b commit 439c9ea

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

User/PasswordUpgraderInterface.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
/**
1515
* @author Nicolas Grekas <p@tchwork.com>
16-
*
17-
* @template TUser of PasswordAuthenticatedUserInterface
1816
*/
1917
interface PasswordUpgraderInterface
2018
{
@@ -24,8 +22,6 @@ interface PasswordUpgraderInterface
2422
* This method should persist the new password in the user storage and update the $user object accordingly.
2523
* Because you don't want your users not being able to log in, this method should be opportunistic:
2624
* it's fine if it does nothing or if it fails without throwing any exception.
27-
*
28-
* @param TUser $user
2925
*/
3026
public function upgradePassword(PasswordAuthenticatedUserInterface $user, string $newHashedPassword): void;
3127
}

0 commit comments

Comments
 (0)