From 3fd3f39c4d28a213495141dd8463816a0b1c719b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 24 Feb 2021 00:09:58 +0100 Subject: [PATCH 1/1] Rename title in civility --- DependencyInjection/Configuration.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 81ec927..ece6c29 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -22,11 +22,11 @@ class Configuration implements ConfigurationInterface { $defaults = [ 'class' => [ 'group' => 'Rapsys\\UserBundle\\Entity\\Group', - 'title' => 'Rapsys\\UserBundle\\Entity\\Title', + 'civility' => 'Rapsys\\UserBundle\\Entity\\Civility', 'user' => 'Rapsys\\UserBundle\\Entity\\User' ], 'default' => [ - 'title' => 'Mister', + 'civility' => 'Mister', 'group' => [ 'User' ] ], 'route' => [ @@ -128,14 +128,14 @@ class Configuration implements ConfigurationInterface { ->addDefaultsIfNotSet() ->children() ->scalarNode('group')->cannotBeEmpty()->defaultValue($defaults['class']['group'])->end() - ->scalarNode('title')->cannotBeEmpty()->defaultValue($defaults['class']['title'])->end() + ->scalarNode('civility')->cannotBeEmpty()->defaultValue($defaults['class']['civility'])->end() ->scalarNode('user')->cannotBeEmpty()->defaultValue($defaults['class']['user'])->end() ->end() ->end() ->arrayNode('default') ->addDefaultsIfNotSet() ->children() - ->scalarNode('title')->cannotBeEmpty()->defaultValue($defaults['default']['title'])->end() + ->scalarNode('civility')->cannotBeEmpty()->defaultValue($defaults['default']['civility'])->end() ->arrayNode('group') ->treatNullLike(array()) ->defaultValue($defaults['default']['group']) -- 2.41.1