From 835712747dcd597d548656c922f2ee5ae050ebb2 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Mon, 25 May 2020 11:48:26 +0200 Subject: [PATCH] [Security] Updated a deprecation message --- .../DependencyInjection/Security/Factory/AnonymousFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AnonymousFactory.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AnonymousFactory.php index 1feba8bcb1..2d67694e62 100644 --- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AnonymousFactory.php +++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AnonymousFactory.php @@ -68,7 +68,7 @@ class AnonymousFactory implements SecurityFactoryInterface, AuthenticatorFactory ->then(function ($v) { return ['lazy' => true]; }) ->end() ->children() - ->booleanNode('lazy')->defaultFalse()->setDeprecated('symfony/security-bundle', '5.1', 'Using "anonymous: lazy" to make the firewall lazy is deprecated, use "lazy: true" instead.')->end() + ->booleanNode('lazy')->defaultFalse()->setDeprecated('symfony/security-bundle', '5.1', 'Using "anonymous: lazy" to make the firewall lazy is deprecated, use "anonymous: true" and "lazy: true" instead.')->end() ->scalarNode('secret')->defaultNull()->end() ->end() ;