Skip to content

Commit f676694

Browse files
danrotwouterj
authored andcommitted
Correct useAttributeAsKey usage
1 parent e13c049 commit f676694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/config/definition.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ In order to maintain the array keys use the ``useAttributeAsKey()`` method::
327327
->fixXmlConfig('connection')
328328
->children()
329329
->arrayNode('connections')
330+
->useAttributeAsKey('name')
330331
->prototype('array')
331-
->useAttributeAsKey('name')
332332
->children()
333333
->scalarNode('table')->end()
334334
->scalarNode('user')->end()

0 commit comments

Comments
 (0)