diff --git a/security/passwords.rst b/security/passwords.rst index c12d51f520d..f00cec6184c 100644 --- a/security/passwords.rst +++ b/security/passwords.rst @@ -242,7 +242,7 @@ After configuring the correct algorithm, you can use the // ... } - public function delete(UserPasswordHasherInterface $passwordHasher, UserInterface $user) + public function delete(UserPasswordHasherInterface $passwordHasher, UserInterface $user): void { // ... e.g. get the password from a "confirm deletion" dialog $plaintextPassword = ...;