Skip to content

Commit 22ea372

Browse files
committed
minor #18213 Patch 18 (hbgamra)
This PR was submitted for the 6.3 branch but it was merged into the 5.4 branch instead. Discussion ---------- Patch 18 <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 28333d8 add Void to delete method
2 parents cfd30f0 + 28333d8 commit 22ea372

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)