Skip to content

Commit 28333d8

Browse files
hbgamraOskarStark
authored andcommitted
add Void to delete method
1 parent cfd30f0 commit 28333d8

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
@@ -242,7 +242,7 @@ After configuring the correct algorithm, you can use the
242242
// ...
243243
}
244244
245-
public function delete(UserPasswordHasherInterface $passwordHasher, UserInterface $user)
245+
public function delete(UserPasswordHasherInterface $passwordHasher, UserInterface $user): void
246246
{
247247
// ... e.g. get the password from a "confirm deletion" dialog
248248
$plaintextPassword = ...;

0 commit comments

Comments
 (0)