X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=vendor%2Fsymfony%2Fdependency-injection%2FCompiler%2FFactoryReturnTypePass.php;h=1279fcaa706391ab23de0a701a50b841e5f5c139;hb=4e1bfbf98b844da83b18aca92ef00f11a4735806;hp=825e117ccc0164e4b0a4d7b7864170f8fb831eda;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/vendor/symfony/dependency-injection/Compiler/FactoryReturnTypePass.php b/vendor/symfony/dependency-injection/Compiler/FactoryReturnTypePass.php index 825e117cc..1279fcaa7 100644 --- a/vendor/symfony/dependency-injection/Compiler/FactoryReturnTypePass.php +++ b/vendor/symfony/dependency-injection/Compiler/FactoryReturnTypePass.php @@ -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())) {