Skip to content

Commit d87b719

Browse files
committed
Minor reword
1 parent 06e0faa commit d87b719

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
@@ -735,9 +735,10 @@ method::
735735

736736
.. note::
737737

738-
If you use your own deprecated option within your own library and need to fix it,
739-
pass ``false`` as second argument of the :method:`Symfony\\Component\\OptionsResolver\\Options::offsetGet()` method
740-
so as not to trigger the deprecation warning.
738+
When using an option deprecated by you in your own library, you can pass
739+
``false`` as the second argument of the
740+
:method:`Symfony\\Component\\OptionsResolver\\Options::offsetGet()` method
741+
to not trigger the deprecation warning.
741742

742743
Instead of passing the message, you may also pass a closure which returns
743744
a string (the deprecation message) or an empty string to ignore the deprecation.

0 commit comments

Comments
 (0)