We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 04cd7a3 + f12de0e commit fc5b9faCopy full SHA for fc5b9fa
Extension/Validator/ValidatorTypeGuesser.php
@@ -156,8 +156,7 @@ public function guessTypeForConstraint(Constraint $constraint)
156
case 'Symfony\Component\Validator\Constraints\Range':
157
return new TypeGuess('number', array(), Guess::LOW_CONFIDENCE);
158
159
- case 'Symfony\Component\Validator\Constraints\MinCount':
160
- case 'Symfony\Component\Validator\Constraints\MaxCount':
+ case 'Symfony\Component\Validator\Constraints\Count':
161
return new TypeGuess('collection', array(), Guess::LOW_CONFIDENCE);
162
163
case 'Symfony\Component\Validator\Constraints\True':
0 commit comments