Skip to content

Commit 21ebbb1

Browse files
authored
add Void to delete method
1 parent c2cdd5e commit 21ebbb1

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)