Skip to content

Commit 9919bca

Browse files
committed
Revert "Fixed markup"
This reverts commit c859790.
1 parent c859790 commit 9919bca

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
@@ -361,9 +361,10 @@ In sub-classes, you can use :method:`Symfony\\Component\\OptionsResolver\\Option
361361
to add additional allowed types without erasing the ones already set.
362362

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

368369
Value Validation
369370
~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy