Skip to content

Commit f58d156

Browse files
Add nullable operator for PHP 8.4 compatibility
1 parent 4c6fb33 commit f58d156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/Security/DOMJudgeXHeadersAuthenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function onAuthenticationFailure(Request $request, AuthenticationExceptio
9595
/**
9696
* Called when authentication is needed, but it's not sent.
9797
*/
98-
public function start(Request $request, AuthenticationException $authException = null): Response
98+
public function start(Request $request, ?AuthenticationException $authException = null): Response
9999
{
100100
return new RedirectResponse($this->router->generate('login', [], UrlGeneratorInterface::ABSOLUTE_URL));
101101
}

0 commit comments

Comments
 (0)