Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / dependency-injection / Compiler / ResolveFactoryClassPass.php
index c41cf973fe62003dfd803e88194a120fc9db4dd0..848da7f2bd24b64c0153d090ba9c93a4bb43abc8 100644 (file)
@@ -24,7 +24,7 @@ class ResolveFactoryClassPass extends AbstractRecursivePass
      */
     protected function processValue($value, $isRoot = false)
     {
-        if ($value instanceof Definition && is_array($factory = $value->getFactory()) && null === $factory[0]) {
+        if ($value instanceof Definition && \is_array($factory = $value->getFactory()) && null === $factory[0]) {
             if (null === $class = $value->getClass()) {
                 throw new RuntimeException(sprintf('The "%s" service is defined to be created by a factory, but is missing the factory class. Did you forget to define the factory or service class?', $this->currentId));
             }