release 1.19 (#3215)
This commit is contained in:
@@ -26,7 +26,7 @@ class HexColorValidator extends ConstraintValidator
|
||||
|
||||
$color = $value;
|
||||
|
||||
if ($color === null || (\is_string($color) && empty($color))) {
|
||||
if ($color === null || $color === '') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user