X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fobjectcache%2FMultiWriteBagOStuff.php;h=e550c0d0e42839ba388e7218d81c1faf41fe5cab;hb=0e24ba0d9b1ba699f722b23bc3ef941b85df66cd;hp=4120749682750e5441e9e9d46279007f42634820;hpb=90bf090dd3f4465a8fb95aacb69fb0c304bc153a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/objectcache/MultiWriteBagOStuff.php b/includes/objectcache/MultiWriteBagOStuff.php index 4120749682..e550c0d0e4 100644 --- a/includes/objectcache/MultiWriteBagOStuff.php +++ b/includes/objectcache/MultiWriteBagOStuff.php @@ -43,7 +43,7 @@ class MultiWriteBagOStuff extends BagOStuff { */ public function __construct( $params ) { if ( !isset( $params['caches'] ) ) { - throw new MWException( __METHOD__.': the caches parameter is required' ); + throw new MWException( __METHOD__ . ': the caches parameter is required' ); } $this->caches = array(); @@ -171,8 +171,8 @@ class MultiWriteBagOStuff extends BagOStuff { /** * @param $key string * @param $callback closure Callback method to be executed - * @param $exptime int Either an interval in seconds or a unix timestamp for expiry - * @param $attempts int The amount of times to attempt a merge in case of failure + * @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 */ public function merge( $key, closure $callback, $exptime = 0, $attempts = 10 ) {