X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fsymfony%2Fdependency-injection%2FCompiler%2FCheckArgumentsValidityPass.php;fp=vendor%2Fsymfony%2Fdependency-injection%2FCompiler%2FCheckArgumentsValidityPass.php;h=feb05c0499494aa4e1f6fc853cd00875ea347105;hp=7f032058ab139e649344e9cf8d3ed66a9a056412;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/vendor/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php b/vendor/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php index 7f032058a..feb05c049 100644 --- a/vendor/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php +++ b/vendor/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php @@ -41,7 +41,7 @@ class CheckArgumentsValidityPass extends AbstractRecursivePass $i = 0; foreach ($value->getArguments() as $k => $v) { if ($k !== $i++) { - if (!is_int($k)) { + if (!\is_int($k)) { $msg = sprintf('Invalid constructor argument for service "%s": integer expected but found string "%s". Check your service definition.', $this->currentId, $k); $value->addError($msg); if ($this->throwExceptions) { @@ -63,7 +63,7 @@ class CheckArgumentsValidityPass extends AbstractRecursivePass $i = 0; foreach ($methodCall[1] as $k => $v) { if ($k !== $i++) { - if (!is_int($k)) { + if (!\is_int($k)) { $msg = sprintf('Invalid argument for method call "%s" of service "%s": integer expected but found string "%s". Check your service definition.', $methodCall[0], $this->currentId, $k); $value->addError($msg); if ($this->throwExceptions) {