X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=vendor%2Fsymfony%2Fvalidator%2FConstraints%2FRangeValidator.php;h=e0cb92a93e9ecb147e3f88a897e73a2cb5009017;hb=5b8bb166bfa98770daef9de5c127fc2e6ef02340;hp=ac140dbbf34e2c1b915fc41969903f49aa95d547;hpb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;p=yaffs-website diff --git a/vendor/symfony/validator/Constraints/RangeValidator.php b/vendor/symfony/validator/Constraints/RangeValidator.php index ac140dbbf..e0cb92a93 100644 --- a/vendor/symfony/validator/Constraints/RangeValidator.php +++ b/vendor/symfony/validator/Constraints/RangeValidator.php @@ -50,11 +50,11 @@ class RangeValidator extends ConstraintValidator // the DateTime constructor: // http://php.net/manual/en/datetime.formats.php if ($value instanceof \DateTimeInterface) { - if (is_string($min)) { + if (\is_string($min)) { $min = new \DateTime($min); } - if (is_string($max)) { + if (\is_string($max)) { $max = new \DateTime($max); } }