From dbad0a2003c1373c151da52df22bc709bec9f7a4 Mon Sep 17 00:00:00 2001 From: Damian Dziaduch Date: Tue, 17 Sep 2024 14:45:33 +0200 Subject: [PATCH] Drop useless call to end method Due to this, upgrading from SF 6.4.7 to more recent versions is impossible. --- .../Symfony/Client/DependencyInjection/ClientFactory.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkg/enqueue/Symfony/Client/DependencyInjection/ClientFactory.php b/pkg/enqueue/Symfony/Client/DependencyInjection/ClientFactory.php index 2eede31b7..be020dcff 100644 --- a/pkg/enqueue/Symfony/Client/DependencyInjection/ClientFactory.php +++ b/pkg/enqueue/Symfony/Client/DependencyInjection/ClientFactory.php @@ -74,12 +74,8 @@ public static function getConfiguration(bool $debug, string $name = 'client'): N ->scalarNode('router_processor')->defaultNull()->end() ->integerNode('redelivered_delay_time')->min(0)->defaultValue(0)->end() ->scalarNode('default_queue')->defaultValue('default')->cannotBeEmpty()->end() - ->arrayNode('driver_options') - ->addDefaultsIfNotSet() - ->info('The array contains driver specific options') - ->ignoreExtraKeys(false) + ->arrayNode('driver_options')->addDefaultsIfNotSet()->info('The array contains driver specific options')->ignoreExtraKeys(false)->end() ->end() - ->end()->end() ; return $builder;