Skip to content

Commit 1b989b8

Browse files
committed
[OptionsResolver] Minor tweak
1 parent 2e83f14 commit 1b989b8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

components/options_resolver.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -845,8 +845,9 @@ and before normalizing it when the option is being resolved.
845845
Ignore not defined Options
846846
~~~~~~~~~~~~~~~~~~~~~~~~~~
847847

848-
By default, all options are resolved, validated and an :class:`Symfony\\Component\\OptionsResolver\\Exception\\UndefinedOptionsException`
849-
is thrown if an unknown option is passed. You can ignore not defined options by using the
848+
By default, all options are resolved and validated, resulting in a
849+
:class:`Symfony\\Component\\OptionsResolver\\Exception\\UndefinedOptionsException`
850+
if an unknown option is passed. You can ignore not defined options by using the
850851
:method:`Symfony\\Component\\OptionsResolver\\OptionsResolver::ignoreUndefined` method::
851852

852853
// ...
@@ -863,7 +864,7 @@ is thrown if an unknown option is passed. You can ignore not defined options by
863864

864865
.. versionadded:: 6.3
865866

866-
The ``ignoreUndefined`` method was introduced in Symfony 6.3.
867+
The ``ignoreUndefined()`` method was introduced in Symfony 6.3.
867868

868869
Chaining Option Configurations
869870
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)