Skip to content

Commit 4201d41

Browse files
mdavis1982stof
authored andcommitted
fix issue symfony#8171 on configuration tree for twig extension -- pairing up with @cordoval
1 parent d15fe34 commit 4201d41

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ private function addTwigOptions(ArrayNodeDefinition $rootNode)
136136
->scalarNode('optimizations')->end()
137137
->arrayNode('paths')
138138
->normalizeKeys(false)
139+
->useAttributeAsKey('paths')
139140
->beforeNormalization()
140141
->always()
141142
->then(function ($paths) {

0 commit comments

Comments
 (0)