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 @@ -304,11 +304,12 @@ callback method:
304304* A closure.
305305
306306Concrete callbacks receive an :class: `Symfony\\ Component\\ Validator\\ Context\\ ExecutionContextInterface `
307- instance as only argument.
307+ instance as the first argument and the :ref: ` payload option < payload >` as the second argument.
308308
309309Static or closure callbacks receive the validated object as the first argument
310- and the :class: `Symfony\\ Component\\ Validator\\ Context\\ ExecutionContextInterface `
311- instance as the second argument.
310+ , the :class: `Symfony\\ Component\\ Validator\\ Context\\ ExecutionContextInterface `
311+ instance as the second argument and the :ref: `payload option <payload >` as the
312+ third argument.
312313
313314.. include :: /reference/constraints/_groups-option.rst.inc
314315
You can’t perform that action at this time.
0 commit comments