X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fobjectcache%2FEmptyBagOStuff.php;h=9595b83ce84d6a106dc9a83bc7f022963014b665;hb=7f191fbe513912d70b6380084438991d8beecce9;hp=0a945a91765a2cfce014c94824c6f9f5cff4aab8;hpb=e709173263f1e6f6da2b4f35c72fe6dedf142688;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/objectcache/EmptyBagOStuff.php b/includes/objectcache/EmptyBagOStuff.php index 0a945a9176..9595b83ce8 100644 --- a/includes/objectcache/EmptyBagOStuff.php +++ b/includes/objectcache/EmptyBagOStuff.php @@ -29,8 +29,8 @@ class EmptyBagOStuff extends BagOStuff { /** - * @param $key string - * @param $casToken[optional] mixed + * @param string $key + * @param mixed $casToken [optional] * @return bool */ function get( $key, &$casToken = null ) { @@ -38,9 +38,9 @@ class EmptyBagOStuff extends BagOStuff { } /** - * @param $key string - * @param $value mixed - * @param $exp int + * @param string $key + * @param mixed $value + * @param int $exp * @return bool */ function set( $key, $value, $exp = 0 ) { @@ -48,10 +48,10 @@ class EmptyBagOStuff extends BagOStuff { } /** - * @param $casToken mixed - * @param $key string - * @param $value mixed - * @param $exp int + * @param mixed $casToken + * @param string $key + * @param mixed $value + * @param int $exp * @return bool */ function cas( $casToken, $key, $value, $exp = 0 ) { @@ -59,8 +59,8 @@ class EmptyBagOStuff extends BagOStuff { } /** - * @param $key string - * @param $time int + * @param string $key + * @param int $time * @return bool */ function delete( $key, $time = 0 ) { @@ -68,13 +68,13 @@ class EmptyBagOStuff extends BagOStuff { } /** - * @param $key string - * @param $callback closure Callback method to be executed + * @param string $key + * @param Closure $callback Callback method to be executed * @param int $exptime Either an interval in seconds or a unix timestamp for expiry * @param int $attempts The amount of times to attempt a merge in case of failure - * @return bool success + * @return bool Success */ - public function merge( $key, closure $callback, $exptime = 0, $attempts = 10 ) { + public function merge( $key, Closure $callback, $exptime = 0, $attempts = 10 ) { return true; } }