8000
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.
1 parent 277d75b commit 474b4abCopy full SHA for 474b4ab
src/Symfony/Component/Validator/Constraints/TypeValidator.php
@@ -31,10 +31,6 @@ class TypeValidator extends ConstraintValidator
31
*/
32
public function isValid($value, Constraint $constraint)
33
{
34
- if (null === $value) {
35
- return true;
36
- }
37
-
38
$type = $constraint->type == 'boolean' ? 'bool' : $constraint->type;
39
$function = 'is_'.$type;
40
0 commit comments