Skip to content

Commit 6f42db1

Browse files
committed
bug #1728 PHP 8.4 Deprecation Fix (natewiebe13)
This PR was merged into the 1.x branch. Discussion ---------- PHP 8.4 Deprecation Fix Resolves the following deprecation: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types Commits ------- 0bbc9c1 Update arg type to be nullable
2 parents 2696e9e + 0bbc9c1 commit 6f42db1

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)