Skip to content

Commit 51dd577

Browse files
committed
[#6566] fix indentation
1 parent 018175d commit 51dd577

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/options_resolver.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -404,10 +404,10 @@ For options with more complicated validation schemes, pass a closure which
404404
returns ``true`` for acceptable values and ``false`` for invalid values::
405405

406406
407-
// ...
408-
$resolver->setAllowedValues('transport', function ($value) {
409-
// return true or false
410-
});
407+
// ...
408+
$resolver->setAllowedValues('transport', function ($value) {
409+
// return true or false
410+
});
411411

412412
In sub-classes, you can use :method:`Symfony\\Component\\OptionsResolver\\OptionsResolver::addAllowedValues`
413413
to add additional allowed values without erasing the ones already set.

0 commit comments

Comments
 (0)