X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fobjectcache%2FMemcachedPhpBagOStuff.php;h=330d2b52adb460de407417987d83954ec1f5da0e;hb=7275af4b5d8c9c68671c78ed027ae44a82cc2d39;hp=5a9ee508b93606881d915d9c0c3808cd250b4e3c;hpb=4f53553527eb78196537424c21490886a2122148;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/objectcache/MemcachedPhpBagOStuff.php b/includes/objectcache/MemcachedPhpBagOStuff.php index 5a9ee508b9..330d2b52ad 100644 --- a/includes/objectcache/MemcachedPhpBagOStuff.php +++ b/includes/objectcache/MemcachedPhpBagOStuff.php @@ -39,7 +39,7 @@ class MemcachedPhpBagOStuff extends MemcachedBagOStuff { * - timeout: The read timeout in microseconds * - connect_timeout: The connect timeout in seconds * - * @param $params array + * @param array $params */ function __construct( $params ) { $params = $this->applyDefaultParams( $params ); @@ -50,15 +50,15 @@ class MemcachedPhpBagOStuff extends MemcachedBagOStuff { } /** - * @param $debug bool + * @param bool $debug */ public function setDebug( $debug ) { $this->client->set_debug( $debug ); } /** - * @param $keys Array - * @return Array + * @param array $keys + * @return array */ public function getMulti( array $keys ) { $callback = array( $this, 'encodeKey' ); @@ -66,8 +66,8 @@ class MemcachedPhpBagOStuff extends MemcachedBagOStuff { } /** - * @param $key - * @param $timeout int + * @param string $key + * @param int $timeout * @return bool */ public function lock( $key, $timeout = 0 ) { @@ -75,29 +75,28 @@ class MemcachedPhpBagOStuff extends MemcachedBagOStuff { } /** - * @param $key string - * @return Mixed + * @param string $key + * @return mixed */ public function unlock( $key ) { return $this->client->unlock( $this->encodeKey( $key ) ); } /** - * @param $key string - * @param $value int - * @return Mixed + * @param string $key + * @param int $value + * @return mixed */ public function incr( $key, $value = 1 ) { return $this->client->incr( $this->encodeKey( $key ), $value ); } /** - * @param $key string - * @param $value int - * @return Mixed + * @param string $key + * @param int $value + * @return mixed */ public function decr( $key, $value = 1 ) { return $this->client->decr( $this->encodeKey( $key ), $value ); } } -