From 2f606c2ebf55de9e7dae57213c85f1cf5e6e15fc Mon Sep 17 00:00:00 2001 From: Toni Uebernickel Date: Sun, 27 Apr 2014 11:26:40 +0200 Subject: [PATCH] fix DI Configuration of connection settings --- DependencyInjection/Configuration.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 8360011..916e1ca 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -141,10 +141,7 @@ class Configuration implements ConfigurationInterface ->children() ->arrayNode('settings') ->useAttributeAsKey('key') - ->prototype('array') - ->useAttributeAsKey('key') - ->prototype('scalar')->end() - ->end() + ->prototype('scalar')->end() ->end() ->end() ->fixXmlConfig('connection') @@ -239,10 +236,7 @@ class Configuration implements ConfigurationInterface ->children() ->arrayNode('settings') ->useAttributeAsKey('key') - ->prototype('array') - ->useAttributeAsKey('key') - ->prototype('scalar') - ->end() + ->prototype('scalar')->end() ->end() ->end() ;