X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=vendor%2Fsymfony%2Fconfig%2FConfigCacheFactory.php;h=7903cca9321f0901f0f8f033ef56c8b0d1cbd78e;hb=5b8bb166bfa98770daef9de5c127fc2e6ef02340;hp=06dbe6c2947edbe8a9e650310286c79c15ad69e5;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/vendor/symfony/config/ConfigCacheFactory.php b/vendor/symfony/config/ConfigCacheFactory.php index 06dbe6c29..7903cca93 100644 --- a/vendor/symfony/config/ConfigCacheFactory.php +++ b/vendor/symfony/config/ConfigCacheFactory.php @@ -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;