Commit d852a55
committed
minor #21079 [Validator] Fix parameters list in Choice::$multipleMessage option (niconoe-)
This PR was submitted for the 7.3 branch but it was squashed and merged into the 6.4 branch instead.
Discussion
----------
[Validator] Fix parameters list in Choice::$multipleMessage option
Documentation says that `\Symfony\Component\Validator\Constraints\Choice::$multipleMessage` option can take parameters `{{ value }}` and `{{ label }}` in the message, but regarding `\Symfony\Component\Validator\Constraints\ChoiceValidator`, this is wrong. Just like for the other use-cass of `Choice` messaging options, it cannot take `{{ label }}` but `{{ choices }}` instead.
Commits
-------
f599ae4 [Validator] Fix parameters list in Choice::$multipleMessage option1 file changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
307 | 308 | | |
308 | 309 | | |
309 | 310 | | |
| |||
362 | 363 | | |
363 | 364 | | |
364 | 365 | | |
| 366 | + | |
365 | 367 | | |
366 | 368 | | |
367 | 369 | | |
| |||
385 | 387 | | |
386 | 388 | | |
387 | 389 | | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
394 | 396 | | |
395 | 397 | | |
0 commit comments