Skip to content
Snippets Groups Projects

Resolve #3524477 "Breaking errors in"

23 files
+ 26
26
Compare changes
  • Side-by-side
  • Inline
Files
23
@@ -15,8 +15,8 @@ use Symfony\Component\Validator\Constraints\ChoiceValidator;
*/
class ChoiceConstraint extends Choice {
public $minMessage = 'You must select at least %limit choice.|You must select at least %limit choices.';
public $maxMessage = 'You must select at most %limit choice.|You must select at most %limit choices.';
public string $minMessage = 'You must select at least %limit choice.|You must select at least %limit choices.';
public string $maxMessage = 'You must select at most %limit choice.|You must select at most %limit choices.';
/**
* {@inheritdoc}
Loading