Skip to content

Commit 90bc996

Browse files
committed
[FrameworkBundle] Add missing useAttributeAsKey calls
1 parent 55a926f commit 90bc996

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

DependencyInjection/Configuration.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1857,6 +1857,7 @@ private function addHttpClientSection(ArrayNodeDefinition $rootNode, callable $e
18571857
->end()
18581858
->arrayNode('vars')
18591859
->info('Associative array: the default vars used to expand the templated URI.')
1860+
->useAttributeAsKey('name')
18601861
->normalizeKeys(false)
18611862
->variablePrototype()->end()
18621863
->end()
@@ -1937,6 +1938,7 @@ private function addHttpClientSection(ArrayNodeDefinition $rootNode, callable $e
19371938
->end()
19381939
->arrayNode('extra')
19391940
->info('Extra options for specific HTTP client')
1941+
->useAttributeAsKey('name')
19401942
->normalizeKeys(false)
19411943
->variablePrototype()->end()
19421944
->end()
@@ -2088,6 +2090,7 @@ private function addHttpClientSection(ArrayNodeDefinition $rootNode, callable $e
20882090
->end()
20892091
->arrayNode('extra')
20902092
->info('Extra options for specific HTTP client')
2093+
->useAttributeAsKey('name')
20912094
->normalizeKeys(false)
20922095
->variablePrototype()->end()
20932096
->end()

0 commit comments

Comments
 (0)