Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / config / ConfigCacheFactory.php
index 06dbe6c2947edbe8a9e650310286c79c15ad69e5..7903cca9321f0901f0f8f033ef56c8b0d1cbd78e 100644 (file)
@@ -37,13 +37,13 @@ class ConfigCacheFactory implements ConfigCacheFactoryInterface
      */
     public function cache($file, $callback)
     {
-        if (!is_callable($callback)) {
-            throw new \InvalidArgumentException(sprintf('Invalid type for callback argument. Expected callable, but got "%s".', gettype($callback)));
+        if (!\is_callable($callback)) {
+            throw new \InvalidArgumentException(sprintf('Invalid type for callback argument. Expected callable, but got "%s".', \gettype($callback)));
         }
 
         $cache = new ConfigCache($file, $this->debug);
         if (!$cache->isFresh()) {
-            call_user_func($callback, $cache);
+            \call_user_func($callback, $cache);
         }
 
         return $cache;