From 6f81adcf68407e78efbdac04c11210615b68f0e1 Mon Sep 17 00:00:00 2001 From: Antoine Lamirault Date: Sun, 27 Aug 2023 14:49:05 +0200 Subject: [PATCH] Update phpdoc to not reference removed classes --- Authentication/AuthenticationFailureHandlerInterface.php | 4 +--- Firewall/LogoutListener.php | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Authentication/AuthenticationFailureHandlerInterface.php b/Authentication/AuthenticationFailureHandlerInterface.php index 6f6cffef..faf5979c 100644 --- a/Authentication/AuthenticationFailureHandlerInterface.php +++ b/Authentication/AuthenticationFailureHandlerInterface.php @@ -27,9 +27,7 @@ interface AuthenticationFailureHandlerInterface { /** - * This is called when an interactive authentication attempt fails. This is - * called by authentication listeners inheriting from - * AbstractAuthenticationListener. + * This is called when an interactive authentication attempt fails. */ public function onAuthenticationFailure(Request $request, AuthenticationException $exception): Response; } diff --git a/Firewall/LogoutListener.php b/Firewall/LogoutListener.php index 885a0a1e..77810524 100644 --- a/Firewall/LogoutListener.php +++ b/Firewall/LogoutListener.php @@ -66,7 +66,7 @@ public function supports(Request $request): ?bool * validate the request. * * @throws LogoutException if the CSRF token is invalid - * @throws \RuntimeException if the LogoutSuccessHandlerInterface instance does not return a response + * @throws \RuntimeException if the LogoutEvent listener does not set a response */ public function authenticate(RequestEvent $event): void {