Skip to content

Commit feb22f4

Browse files
javiereguiluzxabbuh
authored andcommitted
minor symfony#9328 Markup in Config Validation example (ProgMiner)
This PR was merged into the 4.0 branch. Discussion ---------- Markup in Config Validation example With the previous markup, it is intuitively unclear what `->end()` is applied to `->validate()`. Commits ------- d823cbf Markup in validation example
1 parent 945dbc6 commit feb22f4

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
@@ -726,7 +726,7 @@ The builder is used for adding advanced validation rules to node definitions, li
726726
->scalarNode('driver')
727727
->isRequired()
728728
->validate()
729-
->ifNotInArray(array('mysql', 'sqlite', 'mssql'))
729+
->ifNotInArray(array('mysql', 'sqlite', 'mssql'))
730730
->thenInvalid('Invalid database driver %s')
731731
->end()
732732
->end()

0 commit comments

Comments
 (0)