From e6e8f76baa8a8959fb1acaacf96600eee35b73dc Mon Sep 17 00:00:00 2001 From: Richard van Laak Date: Tue, 2 Dec 2014 10:06:55 +0100 Subject: [PATCH] Make `default_locale` null by default --- DependencyInjection/Configuration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 951ac85..3954ef7 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -22,7 +22,7 @@ public function getConfigTreeBuilder() $rootNode ->children() ->scalarNode('locale_provider')->defaultValue('default')->end() - ->scalarNode('default_locale')->isRequired(false)->end() + ->scalarNode('default_locale')->defaultNull()->end() ->arrayNode('locales') ->beforeNormalization() ->ifString()