X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=vendor%2Fsymfony%2Fconfig%2FResourceCheckerConfigCacheFactory.php;h=2e27eab711dc7d34fe872c2eed02dd5cb793844e;hb=4e1bfbf98b844da83b18aca92ef00f11a4735806;hp=2493f34663e75de182de33f57420f00562bf5a3d;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/vendor/symfony/config/ResourceCheckerConfigCacheFactory.php b/vendor/symfony/config/ResourceCheckerConfigCacheFactory.php index 2493f3466..2e27eab71 100644 --- a/vendor/symfony/config/ResourceCheckerConfigCacheFactory.php +++ b/vendor/symfony/config/ResourceCheckerConfigCacheFactory.php @@ -34,13 +34,13 @@ class ResourceCheckerConfigCacheFactory 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 ResourceCheckerConfigCache($file, $this->resourceCheckers); if (!$cache->isFresh()) { - call_user_func($callback, $cache); + \call_user_func($callback, $cache); } return $cache;