From f10098e9f11a121080169218c0c4627127b2f857 Mon Sep 17 00:00:00 2001 From: Robin Chalas Date: Sun, 9 Feb 2020 18:57:03 +0100 Subject: [PATCH] [Security] Fix exception name in doc comments --- .../Security/Core/Exception/AuthenticationExpiredException.php | 2 +- .../Security/Guard/Provider/GuardAuthenticationProvider.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Security/Core/Exception/AuthenticationExpiredException.php b/src/Symfony/Component/Security/Core/Exception/AuthenticationExpiredException.php index 7bc174f05ce8..b45c948acd35 100644 --- a/src/Symfony/Component/Security/Core/Exception/AuthenticationExpiredException.php +++ b/src/Symfony/Component/Security/Core/Exception/AuthenticationExpiredException.php @@ -12,7 +12,7 @@ namespace Symfony\Component\Security\Core\Exception; /** - * AuthenticationServiceException is thrown when an authenticated token becomes un-authenticated between requests. + * AuthenticationExpiredException is thrown when an authenticated token becomes un-authenticated between requests. * * In practice, this is due to the User changing between requests (e.g. password changes), * causes the token to become un-authenticated. diff --git a/src/Symfony/Component/Security/Guard/Provider/GuardAuthenticationProvider.php b/src/Symfony/Component/Security/Guard/Provider/GuardAuthenticationProvider.php index a78a21d49de0..26890db36738 100644 --- a/src/Symfony/Component/Security/Guard/Provider/GuardAuthenticationProvider.php +++ b/src/Symfony/Component/Security/Guard/Provider/GuardAuthenticationProvider.php @@ -82,7 +82,7 @@ public function authenticate(TokenInterface $token) return $token; } - // this AccountStatusException causes the user to be logged out + // this AccountExpiredException causes the user to be logged out throw new AuthenticationExpiredException(); }