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