From b48f51c522838bd4107c46a69bf94a785923b654 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 9 Mar 2015 23:08:37 -0700 Subject: [PATCH] Minor doc fixes Change-Id: I80678e64cafcfd6e2c779452f466d8a630089568 --- includes/objectcache/ObjectCacheSessionHandler.php | 2 +- includes/objectcache/ReplicatedBagOStuff.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/objectcache/ObjectCacheSessionHandler.php b/includes/objectcache/ObjectCacheSessionHandler.php index 24d2a22e43..789f1e3b61 100644 --- a/includes/objectcache/ObjectCacheSessionHandler.php +++ b/includes/objectcache/ObjectCacheSessionHandler.php @@ -117,7 +117,7 @@ class ObjectCacheSessionHandler { * Callback when writing session data. * * @param string $id Session id - * @param mixed $data Session data + * @param string $data Session data * @return bool Success */ static function write( $id, $data ) { diff --git a/includes/objectcache/ReplicatedBagOStuff.php b/includes/objectcache/ReplicatedBagOStuff.php index 7aa2cc3d76..34affc74b8 100644 --- a/includes/objectcache/ReplicatedBagOStuff.php +++ b/includes/objectcache/ReplicatedBagOStuff.php @@ -26,7 +26,7 @@ * those that writes go to. This can easily be used with redis for example. * * In the WAN scenario (e.g. multi-datacenter case), this is useful when - * writes are rare or usually takes place on the primary datacenter. + * writes are rare or they usually take place in the primary datacenter. * * @ingroup Cache * @since 1.25 -- 2.20.1