diff vendor/symfony/validator/Constraints/RangeValidator.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
line wrap: on
line diff
--- a/vendor/symfony/validator/Constraints/RangeValidator.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/vendor/symfony/validator/Constraints/RangeValidator.php	Thu Feb 28 13:21:36 2019 +0000
@@ -50,11 +50,11 @@
         // 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);
             }
         }