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