Skip to content

Commit 1373e94

Browse files
committed
Merge branch '5.4' into 6.2
* 5.4: add Void to delete method
2 parents 61d8041 + 22ea372 commit 1373e94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/passwords.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ After configuring the correct algorithm, you can use the
231231
// ...
232232
}
233233
234-
public function delete(UserPasswordHasherInterface $passwordHasher, UserInterface $user)
234+
public function delete(UserPasswordHasherInterface $passwordHasher, UserInterface $user): void
235235
{
236236
// ... e.g. get the password from a "confirm deletion" dialog
237237
$plaintextPassword = ...;

0 commit comments

Comments
 (0)