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 "mediawiki.ui: checkbox: Fix states according to spec"
[lhc/web/wiklou.git]
/
includes
/
objectcache
/
XCacheBagOStuff.php
diff --git
a/includes/objectcache/XCacheBagOStuff.php
b/includes/objectcache/XCacheBagOStuff.php
index
0f45db7
..
8e2a160
100644
(file)
--- a/
includes/objectcache/XCacheBagOStuff.php
+++ b/
includes/objectcache/XCacheBagOStuff.php
@@
-31,8
+31,8
@@
class XCacheBagOStuff extends BagOStuff {
/**
* Get a value from the XCache object cache
*
/**
* Get a value from the XCache object cache
*
- * @param string $key
c
ache key
- * @param
$casToken mixed: c
as token
+ * @param string $key
C
ache key
+ * @param
mixed $casToken C
as token
* @return mixed
*/
public function get( $key, &$casToken = null ) {
* @return mixed
*/
public function get( $key, &$casToken = null ) {
@@
-54,9
+54,9
@@
class XCacheBagOStuff extends BagOStuff {
/**
* Store a value in the XCache object cache
*
/**
* Store a value in the XCache object cache
*
- * @param string $key
c
ache key
- * @param
$value Mixed: o
bject to store
- * @param int $expire
e
xpiration time
+ * @param string $key
C
ache key
+ * @param
mixed $value O
bject to store
+ * @param int $expire
E
xpiration time
* @return bool
*/
public function set( $key, $value, $expire = 0 ) {
* @return bool
*/
public function set( $key, $value, $expire = 0 ) {
@@
-69,10
+69,10
@@
class XCacheBagOStuff extends BagOStuff {
}
/**
}
/**
- * @param
$casToken mixed
- * @param
$key string
- * @param
$value mixed
- * @param
$exptime int
+ * @param
mixed $casToken
+ * @param
string $key
+ * @param
mixed $value
+ * @param
int $exptime
* @return bool
*/
public function cas( $casToken, $key, $value, $exptime = 0 ) {
* @return bool
*/
public function cas( $casToken, $key, $value, $exptime = 0 ) {
@@
-83,8
+83,8
@@
class XCacheBagOStuff extends BagOStuff {
/**
* Remove a value from the XCache object cache
*
/**
* Remove a value from the XCache object cache
*
- * @param string $key
c
ache key
- * @param int $time
n
ot used in this implementation
+ * @param string $key
C
ache key
+ * @param int $time
N
ot used in this implementation
* @return bool
*/
public function delete( $key, $time = 0 ) {
* @return bool
*/
public function delete( $key, $time = 0 ) {
@@
-97,13
+97,13
@@
class XCacheBagOStuff extends BagOStuff {
* XCache does not seem to support any way of performing CAS - this however will
* provide a way to perform CAS-like functionality.
*
* XCache does not seem to support any way of performing CAS - this however will
* provide a way to perform CAS-like functionality.
*
- * @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
* @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
s
uccess
+ * @return bool
S
uccess
*/
*/
- public function merge( $key,
c
losure $callback, $exptime = 0, $attempts = 10 ) {
+ public function merge( $key,
C
losure $callback, $exptime = 0, $attempts = 10 ) {
return $this->mergeViaLock( $key, $callback, $exptime, $attempts );
}
return $this->mergeViaLock( $key, $callback, $exptime, $attempts );
}