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.