X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/7efd80b56c0c0106d16819ca9e4e88bf42f08a30..576070fab9876583244210b655602ff14de36095:/DependencyInjection/Configuration.php diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index ade173f..3ceb22f 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -148,15 +148,9 @@ class Configuration implements ConfigurationInterface { ->scalarPrototype()->end() ->end() ->arrayNode('default') - ->addDefaultsIfNotSet() - ->children() - ->scalarNode('civility')->cannotBeEmpty()->defaultValue($defaults['default']['civility'])->end() - ->arrayNode('group') - ->treatNullLike([]) - ->defaultValue($defaults['default']['group']) - ->scalarPrototype()->end() - ->end() - ->end() + ->treatNullLike([]) + ->defaultValue($defaults['default']) + ->variablePrototype()->end() ->end() ->arrayNode('route') ->addDefaultsIfNotSet()