Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / validator / Constraints / DateValidator.php
index ed836de9aced2e9564efb6473f859079d7770eed..a1492c54c9a0344d96cd8d8593f7d2abe32b4cd5 100644 (file)
@@ -51,7 +51,7 @@ class DateValidator extends ConstraintValidator
             return;
         }
 
-        if (!is_scalar($value) && !(is_object($value) && method_exists($value, '__toString'))) {
+        if (!is_scalar($value) && !(\is_object($value) && method_exists($value, '__toString'))) {
             throw new UnexpectedTypeException($value, 'string');
         }