From 32952ca4c7f79a3df49ba30207815b23689c4f32 Mon Sep 17 00:00:00 2001 From: Robin Chalas Date: Thu, 19 Aug 2021 12:03:40 +0200 Subject: [PATCH] [Security] Make `AuthenticationTrustResolverInterface::isAuthenticated()` non-virtual --- .../AuthenticationTrustResolverInterface.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Security/Core/Authentication/AuthenticationTrustResolverInterface.php b/src/Symfony/Component/Security/Core/Authentication/AuthenticationTrustResolverInterface.php index 16723d8883b5d..39c20547aa58b 100644 --- a/src/Symfony/Component/Security/Core/Authentication/AuthenticationTrustResolverInterface.php +++ b/src/Symfony/Component/Security/Core/Authentication/AuthenticationTrustResolverInterface.php @@ -17,11 +17,14 @@ * Interface for resolving the authentication status of a given token. * * @author Johannes M. Schmitt - * - * @method bool isAuthenticated(TokenInterface $token = null) */ interface AuthenticationTrustResolverInterface { + /** + * Resolves whether the passed token implementation is authenticated. + */ + public function isAuthenticated(TokenInterface $token = null): bool; + /** * Resolves whether the passed token implementation is authenticated * using remember-me capabilities.