Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / dependency-injection / Compiler / CheckArgumentsValidityPass.php
index 7f032058ab139e649344e9cf8d3ed66a9a056412..feb05c0499494aa4e1f6fc853cd00875ea347105 100644 (file)
@@ -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) {