Skip to content

Commit 7f43206

Browse files
committed
[Components][Config][Definition] Fix code sample
1 parent 594821b commit 7f43206

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

components/config/definition.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,12 @@ Or you may define a prototype for each node inside an array node::
177177
->children()
178178
->arrayNode('connections')
179179
->prototype('array')
180-
->children()
181-
->scalarNode('driver')->end()
182-
->scalarNode('host')->end()
183-
->scalarNode('username')->end()
184-
->scalarNode('password')->end()
180+
->children()
181+
->scalarNode('driver')->end()
182+
->scalarNode('host')->end()
183+
->scalarNode('username')->end()
184+
->scalarNode('password')->end()
185+
->end()
185186
->end()
186187
->end()
187188
->end()

0 commit comments

Comments
 (0)