Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / validator / Constraints / TimeValidator.php
index 3f0234b8b0896ba3a164ceef0b9baebd3ba87d98..b1ee40c53051b241b94617a29e4b88937515215e 100644 (file)
@@ -51,7 +51,7 @@ class TimeValidator 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');
         }