Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / config / Definition / IntegerNode.php
index ba2307024cae31b5b9b689fe5040122cef6997b6..8ec068a84ecf98237f8f006ca311ebfa1b08f267 100644 (file)
@@ -25,8 +25,8 @@ class IntegerNode extends NumericNode
      */
     protected function validateType($value)
     {
-        if (!is_int($value)) {
-            $ex = new InvalidTypeException(sprintf('Invalid type for path "%s". Expected int, but got %s.', $this->getPath(), gettype($value)));
+        if (!\is_int($value)) {
+            $ex = new InvalidTypeException(sprintf('Invalid type for path "%s". Expected int, but got %s.', $this->getPath(), \gettype($value)));
             if ($hint = $this->getInfo()) {
                 $ex->addHint($hint);
             }