Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9919bca

Browse files
committed
Revert "Fixed markup"
This reverts commitc859790.
1 parentc859790 commit9919bca

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)

[8]ページ先頭

©2009-2025 Movatter.jp