diff vendor/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 1fec387a4317
children
line wrap: on
line diff
--- a/vendor/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/vendor/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php	Thu Feb 28 13:21:36 2019 +0000
@@ -41,7 +41,7 @@
         $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 @@
             $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) {