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 bd99764 commit bebca95Copy full SHA for bebca95
Constraints/UrlValidator.php
@@ -48,7 +48,7 @@ public function validate($value, Constraint $constraint)
48
throw new UnexpectedTypeException($constraint, __NAMESPACE__.'\Url');
49
}
50
51
- if (null === $value) {
+ if (null === $value || '' === $value) {
52
return;
53
54
0 commit comments