X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2Fobjectcache%2FRESTBagOStuff.php;h=d3aa9f5cb17d1b3e6d3db69aca2db263d98047c5;hb=ee14393358109fff6023855f6d194016b6332bb0;hp=730eed1e30040430df4eacf172c442be20e50194;hpb=2dd58ade75d15a5895c0c010e17b6f729a0f72fe;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/objectcache/RESTBagOStuff.php b/includes/libs/objectcache/RESTBagOStuff.php index 730eed1e30..d3aa9f5cb1 100644 --- a/includes/libs/objectcache/RESTBagOStuff.php +++ b/includes/libs/objectcache/RESTBagOStuff.php @@ -56,8 +56,8 @@ class RESTBagOStuff extends BagOStuff { } /** - * @param string $key - * @param integer $flags Bitfield of BagOStuff::READ_* constants [optional] + * @param string $key + * @param int $flags Bitfield of BagOStuff::READ_* constants [optional] * @return mixed Returns false on failure and if the item does not exist */ protected function doGet( $key, $flags = 0 ) { @@ -82,7 +82,7 @@ class RESTBagOStuff extends BagOStuff { /** * Handle storage error * @param string $msg Error message - * @param int $rcode Error code from client + * @param int $rcode Error code from client * @param string $rerr Error message from client * @return false */ @@ -99,9 +99,9 @@ class RESTBagOStuff extends BagOStuff { * Set an item * * @param string $key - * @param mixed $value - * @param int $exptime Either an interval in seconds or a unix timestamp for expiry - * @param int $flags Bitfield of BagOStuff::WRITE_* constants + * @param mixed $value + * @param int $exptime Either an interval in seconds or a unix timestamp for expiry + * @param int $flags Bitfield of BagOStuff::WRITE_* constants * @return bool Success */ public function set( $key, $value, $exptime = 0, $flags = 0 ) {