Skip to content

Commit 1e95ac7

Browse files
db306fabpot
authored andcommitted
Make onAuthenticationSuccess Response optional
1 parent b3bfdf9 commit 1e95ac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Security/Http/Authentication/AuthenticationSuccessHandlerInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ interface AuthenticationSuccessHandlerInterface
2929
/**
3030
* Usually called by AuthenticatorInterface::onAuthenticationSuccess() implementations.
3131
*/
32-
public function onAuthenticationSuccess(Request $request, TokenInterface $token): Response;
32+
public function onAuthenticationSuccess(Request $request, TokenInterface $token): ?Response;
3333
}

0 commit comments

Comments
 (0)