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