Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / dependency-injection / Compiler / FactoryReturnTypePass.php
index 825e117ccc0164e4b0a4d7b7864170f8fb831eda..1279fcaa706391ab23de0a701a50b841e5f5c139 100644 (file)
@@ -61,7 +61,7 @@ class FactoryReturnTypePass implements CompilerPassInterface
         }
 
         $class = null;
-        if (is_string($factory)) {
+        if (\is_string($factory)) {
             try {
                 $m = new \ReflectionFunction($factory);
                 if (false !== $m->getFileName() && file_exists($m->getFileName())) {