Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 06b572c

Browse files
committed
Minor improvement
1 parent 2763dc1 commit 06b572c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ private function addTranslatorSection(ArrayNodeDefinition $rootNode)
767767
->prototype('scalar')->end()
768768
->end()
769769
->variableNode('enabled_locales')
770-
->defaultValue('%kernel.default_locale%')
770+
->defaultValue(['%kernel.default_locale%'])
771771
->beforeNormalization()->ifString()->castToArray()->end()
772772
->end()
773773
->end()

0 commit comments

Comments
 (0)