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