Skip to content

Commit

Permalink
Revert "Fixed markup"
Browse files Browse the repository at this point in the history
This reverts commit c859790.
  • Loading branch information
wouterj committed Jan 9, 2015
1 parent c859790 commit 9919bca
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions components/options_resolver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,10 @@ In sub-classes, you can use :method:`Symfony\\Component\\OptionsResolver\\Option
to add additional allowed types without erasing the ones already set.

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

$resolver->setAllowedTypes(array('port' => array('null', 'int')));

Value Validation
~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 9919bca

Please sign in to comment.