8000 minor #5217 Update _payload-option.rst.inc (bvleur) · ThomasLandauer/symfony-docs@aca1344 · GitHub
[go: up one dir, main page]

Skip to content

Commit aca1344

Browse files
committed
minor symfony#5217 Update _payload-option.rst.inc (bvleur)
This PR was submitted for the 2.7 branch but it was merged into the 2.6 branch instead (closes symfony#5217). Discussion ---------- Update _payload-option.rst.inc | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.6+ | Fixed tickets | n/a Just some minor changes to the documentation of the payload option for constraints Commits ------- c8c3c99 Update _payload-option.rst.inc
2 parents 4788a50 + c8c3c99 commit aca1344

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/constraints/_payload-option.rst.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ payload
88

99
This option can be used to attach arbitrary domain-specific data to a constraint.
1010
The configured payload is not used by the Validator component, but its processing
11-
is completely up to.
11+
is completely up to you.
1212

13-
For example, you may want to used
13+
For example, you may want to use
1414
:doc:`several error levels </cookbook/validation/severity>` to present failed
15-
constraint differently in the front-end depending on the severity of the
15+
constraints differently in the front-end depending on the severity of the
1616
error.

0 commit comments

Comments
 (0)
0