dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Fix some issues with Microsoft SQL Server support"
[lhc/web/wiklou.git]
/
includes
/
objectcache
/
MemcachedPhpBagOStuff.php
diff --git
a/includes/objectcache/MemcachedPhpBagOStuff.php
b/includes/objectcache/MemcachedPhpBagOStuff.php
index
33a134c
..
330d2b5
100644
(file)
--- 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
*
* - 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 );
*/
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 );
}
/**
*/
public function setDebug( $debug ) {
$this->client->set_debug( $debug );
}
/**
- * @param
$keys Array
- * @return
A
rray
+ * @param
array $keys
+ * @return
a
rray
*/
public function getMulti( array $keys ) {
$callback = array( $this, 'encodeKey' );
*/
public function getMulti( array $keys ) {
$callback = array( $this, 'encodeKey' );
@@
-66,8
+66,8
@@
class MemcachedPhpBagOStuff extends MemcachedBagOStuff {
}
/**
}
/**
- * @param $key
- * @param
$timeout in
t
+ * @param
string
$key
+ * @param
int $timeou
t
* @return bool
*/
public function lock( $key, $timeout = 0 ) {
* @return bool
*/
public function lock( $key, $timeout = 0 ) {
@@
-75,26
+75,26
@@
class MemcachedPhpBagOStuff extends MemcachedBagOStuff {
}
/**
}
/**
- * @param
$key string
- * @return
M
ixed
+ * @param
string $key
+ * @return
m
ixed
*/
public function unlock( $key ) {
return $this->client->unlock( $this->encodeKey( $key ) );
}
/**
*/
public function unlock( $key ) {
return $this->client->unlock( $this->encodeKey( $key ) );
}
/**
- * @param
$key string
- * @param
$value int
- * @return
M
ixed
+ * @param
string $key
+ * @param
int $value
+ * @return
m
ixed
*/
public function incr( $key, $value = 1 ) {
return $this->client->incr( $this->encodeKey( $key ), $value );
}
/**
*/
public function incr( $key, $value = 1 ) {
return $this->client->incr( $this->encodeKey( $key ), $value );
}
/**
- * @param
$key string
- * @param
$value int
- * @return
M
ixed
+ * @param
string $key
+ * @param
int $value
+ * @return
m
ixed
*/
public function decr( $key, $value = 1 ) {
return $this->client->decr( $this->encodeKey( $key ), $value );
*/
public function decr( $key, $value = 1 ) {
return $this->client->decr( $this->encodeKey( $key ), $value );