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