From: Raphaƫl Gertz Date: Wed, 29 Nov 2023 16:55:04 +0000 (+0100) Subject: Fix Addess argument naming X-Git-Tag: 0.3.1~21 X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/4d179d12db7cad65f5dc866becda2c0c18bdc0a9?hp=4662d481cee0e30c6d3be73a6305d75df8d250f6 Fix Addess argument naming --- diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 719e952..22c34f0 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -73,8 +73,8 @@ class Configuration implements ConfigurationInterface { 'en_gb' => 'English' ], 'contact' => [ - 'title' => 'John Doe', - 'mail' => 'contact@example.com' + 'address' => 'contact@example.com', + 'name' => 'John Doe' ], 'context' => [], 'edit' => [ @@ -236,8 +236,8 @@ class Configuration implements ConfigurationInterface { ->arrayNode('contact') ->addDefaultsIfNotSet() ->children() - ->scalarNode('title')->cannotBeEmpty()->defaultValue($defaults['contact']['title'])->end() - ->scalarNode('mail')->cannotBeEmpty()->defaultValue($defaults['contact']['mail'])->end() + ->scalarNode('address')->cannotBeEmpty()->defaultValue($defaults['contact']['address'])->end() + ->scalarNode('name')->cannotBeEmpty()->defaultValue($defaults['contact']['name'])->end() ->end() ->end() ->arrayNode('context')