Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / validator / Constraints / RangeValidator.php
index ac140dbbf34e2c1b915fc41969903f49aa95d547..e0cb92a93e9ecb147e3f88a897e73a2cb5009017 100644 (file)
@@ -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);
             }
         }