Skip to content

Commit 0bbc9c1

Browse files
committed
Update arg type to be nullable
1 parent c86da84 commit 0bbc9c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/resetPassword/ResetPasswordController.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function checkEmail(): Response
5757
* Validates and process the reset URL that the user clicked in their email.
5858
*/
5959
#[Route('/reset/{token}', name: 'app_reset_password')]
60-
public function reset(Request $request, UserPasswordHasherInterface $passwordHasher<?php if ($translator_available): ?>, TranslatorInterface $translator<?php endif ?>, string $token = null): Response
60+
public function reset(Request $request, UserPasswordHasherInterface $passwordHasher<?php if ($translator_available): ?>, TranslatorInterface $translator<?php endif ?>, ?string $token = null): Response
6161
{
6262
if ($token) {
6363
// We store the token in session and remove it from the URL, to avoid the URL being

0 commit comments

Comments
 (0)