X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fsymfony%2Fvalidator%2FConstraints%2FRangeValidator.php;fp=vendor%2Fsymfony%2Fvalidator%2FConstraints%2FRangeValidator.php;h=e0cb92a93e9ecb147e3f88a897e73a2cb5009017;hp=ac140dbbf34e2c1b915fc41969903f49aa95d547;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c 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); } }