Skip to content

Commit 0e2e828

Browse files
committed
minor #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
2 parents 1a7f714 + d823cbf commit 0e2e828

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
@@ -757,7 +757,7 @@ The builder is used for adding advanced validation rules to node definitions, li
757757
->scalarNode('driver')
758758
->isRequired()
759759
->validate()
760-
->ifNotInArray(array('mysql', 'sqlite', 'mssql'))
760+
->ifNotInArray(array('mysql', 'sqlite', 'mssql'))
761761
->thenInvalid('Invalid database driver %s')
762762
->end()
763763
->end()

0 commit comments

Comments
 (0)