mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-28 21:16:13 +00:00
DX: fix cs
This commit is contained in:
parent
d35dacf562
commit
d3e784de15
@ -142,12 +142,12 @@ class ChillMainExtension extends Extension implements
|
||||
'chill_main.access_permissions_group_list',
|
||||
$config['access_permissions_group_list']
|
||||
);
|
||||
|
||||
|
||||
$container->setParameter(
|
||||
'chill_main.add_address',
|
||||
$config['add_address']
|
||||
);
|
||||
|
||||
|
||||
$container->setParameter(
|
||||
'chill_main.routing.resources',
|
||||
$config['routing']['resources']
|
||||
@ -220,7 +220,7 @@ class ChillMainExtension extends Extension implements
|
||||
'installation' => [
|
||||
'name' => $config['installation_name'], ],
|
||||
'available_languages' => $config['available_languages'],
|
||||
'add_address' => $config['add_address']
|
||||
'add_address' => $config['add_address'],
|
||||
],
|
||||
'form_themes' => ['@ChillMain/Form/fields.html.twig'],
|
||||
];
|
||||
|
@ -266,18 +266,17 @@ class Configuration implements ConfigurationInterface
|
||||
->end()
|
||||
->end() // end of root/children
|
||||
->end() // end of root
|
||||
;
|
||||
|
||||
;
|
||||
|
||||
$rootNode->children()
|
||||
->arrayNode('add_address')->children()
|
||||
->scalarNode('default_country')->cannotBeEmpty()->defaultValue('BE')->end()
|
||||
->arrayNode('map_center')->children()
|
||||
->scalarNode('x')->cannotBeEmpty()->defaultValue(50.8443)->end()
|
||||
->scalarNode('y')->cannotBeEmpty()->defaultValue(4.3523)->end()
|
||||
->scalarNode('z')->cannotBeEmpty()->defaultValue(15)->end()
|
||||
->end()
|
||||
->scalarNode('default_country')->cannotBeEmpty()->defaultValue('BE')->end()
|
||||
->arrayNode('map_center')->children()
|
||||
->scalarNode('x')->cannotBeEmpty()->defaultValue(50.8443)->end()
|
||||
->scalarNode('y')->cannotBeEmpty()->defaultValue(4.3523)->end()
|
||||
->scalarNode('z')->cannotBeEmpty()->defaultValue(15)->end()
|
||||
->end()
|
||||
;
|
||||
->end();
|
||||
|
||||
return $treeBuilder;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user