File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -735,9 +735,10 @@ method::
735
735
736
736
.. note ::
737
737
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.
741
742
742
743
Instead of passing the message, you may also pass a closure which returns
743
744
a string (the deprecation message) or an empty string to ignore the deprecation.
You can’t perform that action at this time.
0 commit comments