Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / dependency-injection / Argument / IteratorArgument.php
index ab3a87900ad8042ad808f66caa05bb46d7c61c54..2d796d2d8f99292dcd2f87a10c00e2ccb758c434 100644 (file)
@@ -46,7 +46,7 @@ class IteratorArgument implements ArgumentInterface
     {
         foreach ($values as $k => $v) {
             if (null !== $v && !$v instanceof Reference) {
-                throw new InvalidArgumentException(sprintf('An IteratorArgument must hold only Reference instances, "%s" given.', is_object($v) ? get_class($v) : gettype($v)));
+                throw new InvalidArgumentException(sprintf('An IteratorArgument must hold only Reference instances, "%s" given.', \is_object($v) ? \get_class($v) : \gettype($v)));
             }
         }