Skip to content

Commit 9a411a1

Browse files
wouterjjaviereguiluz
authored andcommitted
Revert "Fixed markup"
This reverts commit c859790.
1 parent 0e0af70 commit 9a411a1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

components/options_resolver.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,9 +363,10 @@ In sub-classes, you can use :method:`Symfony\\Component\\OptionsResolver\\Option
363363
to add additional allowed types without erasing the ones already set.
364364

365365
.. versionadded:: 2.6
366-
Before Symfony 2.6, ``setAllowedTypes()`` and ``addAllowedTypes()`` expected
367-
the values to be given as an array mapping option names to allowed types:
368-
``$resolver->setAllowedTypes(array('port' => array('null', 'int')));``
366+
Before Symfony 2.6, `setAllowedTypes()` and `addAllowedTypes()` expected
367+
the values to be given as an array mapping option names to allowed types::
368+
369+
$resolver->setAllowedTypes(array('port' => array('null', 'int')));
369370

370371
Value Validation
371372
~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)