Skip to content

Commit 4eb160b

Browse files
MattKetmoweaverryan
authored andcommitted
Use useAttributeAsKey before the prototype method
1 parent 2fe55ff commit 4eb160b

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
@@ -149,8 +149,8 @@ An example of this:
149149
->arrayNode('parameters')
150150
->isRequired()
151151
->requiresAtLeastOneElement()
152+
->useAttributeAsKey('name')
152153
->prototype('array')
153-
->useAttributeAsKey('name')
154154
->children()
155155
->scalarNode('name')->isRequired()->end()
156156
->scalarNode('value')->isRequired()->end()

0 commit comments

Comments
 (0)