@@ -634,15 +634,15 @@ let you find out which options are defined::
634634 }
635635 }
636636
637- Nestedoption
637+ NestedOption
638638~~~~~~~~~~~~~
639639
640640..versionadded ::4.2
641641 This feature was introduced in Symfony 4.2.
642642
643643Suppose you want an option named ``spool `` which has two sub-options ``type ``
644- and ``path ``. Instead ofdefine it as a simple array of values, you can pass
645- a closure as the default value of the ``spool `` option withan :class: `Symfony\\ Component\\ OptionsResolver\\ OptionsResolver `
644+ and ``path ``. Instead ofdefining it as a simple array of values, you can pass
645+ a closure as the default value of the ``spool `` option witha :class: `Symfony\\ Component\\ OptionsResolver\\ OptionsResolver `
646646argument. Based on this instance, you can define the options under ``spool `` and its desired default
647647value::
648648
@@ -706,7 +706,7 @@ adds a second ``Options`` argument to the closure::
706706 The arguments of the closure must be type hinted as ``OptionsResolver `` and ``Options `` respectively.
707707 Otherwise, the closure itself is considered as the default value of the option.
708708
709- In same way, parent options can accessto the child option as follows::
709+ In same way, parent options can access the child option as follows::
710710
711711 // ...
712712 class Mailer
@@ -730,8 +730,8 @@ In same way, parent options can access to the child option as follows::
730730
731731..note ::
732732
733- The fact that an option is defined as nested, means that you must to pass
734- an array of values to resolve iton runtime.
733+ The fact that an option is defined as nested means that you must pass
734+ an array of values to resolve itat runtime.
735735
736736Deprecating the Option
737737~~~~~~~~~~~~~~~~~~~~~~