Skip to content

Commit 1e819e5

Browse files
committed
minor #20358 [Validator] [Validation] Fix some RST syntax issue (javiereguiluz)
This PR was merged into the 6.4 branch. Discussion ---------- [Validator] [Validation] Fix some RST syntax issue The contents had an extra white space that made the rendering not what was expected. See https://symfony.com/doc/6.4/validation/sequence_provider.html#advanced-validation-group-provider Commits ------- 651bb54 [Validation] Fix some RST syntax issue
2 parents 495fad3 + 651bb54 commit 1e819e5

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

validation/sequence_provider.rst

+9-9
Original file line numberDiff line numberDiff line change
@@ -360,15 +360,15 @@ entity, and even register the group provider as a service.
360360

361361
Here's how you can achieve this:
362362

363-
1) **Define a Separate Group Provider Class:** create a class that implements
364-
the :class:`Symfony\\Component\\Validator\\GroupProviderInterface`
365-
and handles the dynamic group sequence logic;
366-
2) **Configure the User with the Provider:** use the ``provider`` option within
367-
the :class:`Symfony\\Component\\Validator\\Constraints\\GroupSequenceProvider`
368-
attribute to link the entity with the provider class;
369-
3) **Autowiring or Manual Tagging:** if :doc:` autowiring </service_container/autowiring>`
370-
is enabled, your custom provider will be automatically linked. Otherwise, you must
371-
:doc:`tag your service </service_container/tags>` manually with the ``validator.group_provider`` tag.
363+
#. **Define a Separate Group Provider Class:** create a class that implements
364+
the :class:`Symfony\\Component\\Validator\\GroupProviderInterface`
365+
and handles the dynamic group sequence logic;
366+
#. **Configure the User with the Provider:** use the ``provider`` option within
367+
the :class:`Symfony\\Component\\Validator\\Constraints\\GroupSequenceProvider`
368+
attribute to link the entity with the provider class;
369+
#. **Autowiring or Manual Tagging:** if :doc:` autowiring </service_container/autowiring>`
370+
is enabled, your custom provider will be automatically linked. Otherwise, you must
371+
:doc:`tag your service </service_container/tags>` manually with the ``validator.group_provider`` tag.
372372

373373
.. configuration-block::
374374

0 commit comments

Comments
 (0)