We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6522145 commit f7d99ddCopy full SHA for f7d99dd
components/options_resolver.rst
@@ -362,7 +362,7 @@ to add additional allowed types without erasing the ones already set.
362
363
.. 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::
+ the values to be given as an array mapping option names to allowed types:
366
``$resolver->setAllowedTypes(array('port' => array('null', 'int')));``
367
368
Value Validation
0 commit comments