remove MinCount and MaxCount contraints. It has been replaced by Count constraints.
This commit is contained in:
parent
ffe2fb9993
commit
58a3296e36
@ -164,8 +164,7 @@ class ValidatorTypeGuesser implements FormTypeGuesserInterface
|
|||||||
case 'Symfony\Component\Validator\Constraints\Range':
|
case 'Symfony\Component\Validator\Constraints\Range':
|
||||||
return new TypeGuess('number', array(), Guess::LOW_CONFIDENCE);
|
return new TypeGuess('number', array(), Guess::LOW_CONFIDENCE);
|
||||||
|
|
||||||
case 'Symfony\Component\Validator\Constraints\MinCount':
|
case 'Symfony\Component\Validator\Constraints\Count':
|
||||||
case 'Symfony\Component\Validator\Constraints\MaxCount':
|
|
||||||
return new TypeGuess('collection', array(), Guess::LOW_CONFIDENCE);
|
return new TypeGuess('collection', array(), Guess::LOW_CONFIDENCE);
|
||||||
|
|
||||||
case 'Symfony\Component\Validator\Constraints\True':
|
case 'Symfony\Component\Validator\Constraints\True':
|
||||||
|
Reference in New Issue
Block a user