8000 bug #5863 Correct useAttributeAsKey usage (danrot) · symfony/symfony-docs@00b2b85 · GitHub
[go: up one dir, main page]

Skip to content

Commit 00b2b85

Browse files
committed
bug #5863 Correct useAttributeAsKey usage (danrot)
This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes #5863). Discussion ---------- Correct useAttributeAsKey usage Commits ------- f676694 Correct useAttributeAsKey usage
2 parents e13c049 + f676694 commit 00b2b85

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)
0