Minor doc fixes
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 10 Mar 2015 06:08:37 +0000 (23:08 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 10 Mar 2015 06:08:37 +0000 (23:08 -0700)
Change-Id: I80678e64cafcfd6e2c779452f466d8a630089568

includes/objectcache/ObjectCacheSessionHandler.php
includes/objectcache/ReplicatedBagOStuff.php

index 24d2a22..789f1e3 100644 (file)
@@ -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 ) {
index 7aa2cc3..34affc7 100644 (file)
@@ -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