Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / dependency-injection / Compiler / ResolveInvalidReferencesPass.php
index d60272b2765583ee2b0aedba62595030cba133ff..f1a1475aeb4ab6b9211e43a17d872473b1566e50 100644 (file)
@@ -13,11 +13,11 @@ namespace Symfony\Component\DependencyInjection\Compiler;
 
 use Symfony\Component\DependencyInjection\Argument\ArgumentInterface;
 use Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument;
+use Symfony\Component\DependencyInjection\ContainerBuilder;
 use Symfony\Component\DependencyInjection\ContainerInterface;
 use Symfony\Component\DependencyInjection\Definition;
-use Symfony\Component\DependencyInjection\Reference;
-use Symfony\Component\DependencyInjection\ContainerBuilder;
 use Symfony\Component\DependencyInjection\Exception\RuntimeException;
+use Symfony\Component\DependencyInjection\Reference;
 
 /**
  * Emulates the invalid behavior if the reference is not found within the
@@ -63,7 +63,7 @@ class ResolveInvalidReferencesPass implements CompilerPassInterface
             $value->setArguments($this->processValue($value->getArguments(), 0));
             $value->setProperties($this->processValue($value->getProperties(), 1));
             $value->setMethodCalls($this->processValue($value->getMethodCalls(), 2));
-        } elseif (is_array($value)) {
+        } elseif (\is_array($value)) {
             $i = 0;
 
             foreach ($value as $k => $v) {