File tree 1 file changed +0
-3
lines changed
src/Symfony/Component/Form/Extension/Validator
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -151,8 +151,6 @@ public function guessTypeForConstraint(Constraint $constraint)
151
151
case 'Symfony\Component\Validator\Constraints\Count ' :
152
152
return new TypeGuess ('Symfony\Component\Form\Extension\Core\Type\CollectionType ' , array (), Guess::LOW_CONFIDENCE );
153
153
154
- case 'Symfony\Component\Validator\Constraints\True ' :
155
- case 'Symfony\Component\Validator\Constraints\False ' :
156
154
case 'Symfony\Component\Validator\Constraints\IsTrue ' :
157
155
case 'Symfony\Component\Validator\Constraints\IsFalse ' :
158
156
return new TypeGuess ('Symfony\Component\Form\Extension\Core\Type\CheckboxType ' , array (), Guess::MEDIUM_CONFIDENCE );
@@ -171,7 +169,6 @@ public function guessRequiredForConstraint(Constraint $constraint)
171
169
switch (get_class ($ constraint )) {
172
170
case 'Symfony\Component\Validator\Constraints\NotNull ' :
173
171
case 'Symfony\Component\Validator\Constraints\NotBlank ' :
174
- case 'Symfony\Component\Validator\Constraints\True ' :
175
172
case 'Symfony\Component\Validator\Constraints\IsTrue ' :
176
173
return new ValueGuess (true , Guess::HIGH_CONFIDENCE );
177
174
}
You can’t perform that action at this time.
0 commit comments