From 19eda155dd4dd71fa1428efcdebecbb9142b0388 Mon Sep 17 00:00:00 2001 From: Maksim Kotlyar Date: Tue, 29 Dec 2015 11:47:49 +0200 Subject: [PATCH] fix proxies config. --- DependencyInjection/Factory/Resolver/AwsS3ResolverFactory.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DependencyInjection/Factory/Resolver/AwsS3ResolverFactory.php b/DependencyInjection/Factory/Resolver/AwsS3ResolverFactory.php index 8944730e8..9137c84a2 100644 --- a/DependencyInjection/Factory/Resolver/AwsS3ResolverFactory.php +++ b/DependencyInjection/Factory/Resolver/AwsS3ResolverFactory.php @@ -111,7 +111,8 @@ public function addConfiguration(ArrayNodeDefinition $builder) ->end() ->arrayNode('proxies') ->defaultValue(array()) - ->prototype('array')->end() + ->useAttributeAsKey('name') + ->prototype('scalar')->end() ->end() ->end() ;