8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e31d4f1 commit 6efae29Copy full SHA for 6efae29
src/Symfony/Bundle/TwigBundle/DependencyInjection/Configuration.php
@@ -76,6 +76,7 @@ private function addGlobalsSection(ArrayNodeDefinition $rootNode)
76
->fixXmlConfig('global')
77
->children()
78
->arrayNode('globals')
79
+ ->keepKeys()
80
->useAttributeAsKey('key')
81
->example(array('foo' => '"@bar"', 'pi' => 3.14))
82
->prototype('array')
@@ -126,6 +127,7 @@ private function addTwigOptions(ArrayNodeDefinition $rootNode)
126
127
->scalarNode('auto_reload')->end()
128
->scalarNode('optimizations')->end()
129
->arrayNode('paths')
130
131
->beforeNormalization()
132
->always()
133
->then(function ($paths) {
0 commit comments