Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / validator / Constraints / AllValidator.php
index a5eb32bbd97968a8a3a187683696aa95f63ab883..97de37058f6508ed531fd08b8ad77228f374b409 100644 (file)
@@ -33,7 +33,7 @@ class AllValidator extends ConstraintValidator
             return;
         }
 
-        if (!is_array($value) && !$value instanceof \Traversable) {
+        if (!\is_array($value) && !$value instanceof \Traversable) {
             throw new UnexpectedTypeException($value, 'array or Traversable');
         }