X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fcache%2FCacheDependency.php;h=9b48ecb7379c11225e5892941131d0f492e0c102;hb=00a57c77e31755e2c365a57118bd6ceca7507e3d;hp=7b83990fedc9e0e2ec1e42db3d6106c01c02c0ca;hpb=c0cdf0e91186728c8e283bbcc977d6831f4b93d1;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/cache/CacheDependency.php b/includes/cache/CacheDependency.php index 7b83990fed..9b48ecb737 100644 --- a/includes/cache/CacheDependency.php +++ b/includes/cache/CacheDependency.php @@ -101,7 +101,7 @@ class DependencyWrapper { * @param BagOStuff $cache A cache object such as $wgMemc * @param string $key The cache key * @param int $expiry The expiry timestamp or interval in seconds - * @param bool|array $callback The callback for generating the value, or false + * @param bool|callable $callback The callback for generating the value, or false * @param array $callbackParams The function parameters for the callback * @param array $deps The dependencies to store on a cache miss. Note: these * are not the dependencies used on a cache hit! Cache hits use the stored @@ -156,7 +156,7 @@ class FileDependency extends CacheDependency { /** * Create a file dependency * - * @param string $filename the name of the file, preferably fully qualified + * @param string $filename The name of the file, preferably fully qualified * @param null|bool|int $timestamp The unix last modified timestamp, or false if the * file does not exist. If omitted, the timestamp will be loaded from * the file.