objectcache: fix getMultiWithUnionSetCallback() doc
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 20 Dec 2017 22:24:43 +0000 (14:24 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 20 Dec 2017 22:24:43 +0000 (14:24 -0800)
Change-Id: I5700ff8ccbe2ef3aa6730e20bdc17314bceade42

includes/libs/objectcache/WANObjectCache.php

index 36b45a1..562819e 100644 (file)
@@ -1374,8 +1374,8 @@ class WANObjectCache implements IExpiringStore, LoggerAwareInterface {
         * This works the same as getWithSetCallback() except:
         *   - a) The $keys argument expects the result of WANObjectCache::makeMultiKeys()
         *   - b) The $callback argument expects a callback returning a map of (ID => new value)
         * This works the same as getWithSetCallback() except:
         *   - a) The $keys argument expects the result of WANObjectCache::makeMultiKeys()
         *   - b) The $callback argument expects a callback returning a map of (ID => new value)
-        *        for all entity IDs in $regenById and it takes the following arguments:
-        *          - $ids: a list of entity IDs to regenerate
+        *        for all entity IDs in $ids and it takes the following arguments:
+        *          - $ids: a list of entity IDs that require cache regeneration
         *          - &$ttls: a reference to the (entity ID => new TTL) map
         *          - &$setOpts: a reference to options for set() which can be altered
         *   - c) The return value is a map of (cache key => value) in the order of $keyedIds
         *          - &$ttls: a reference to the (entity ID => new TTL) map
         *          - &$setOpts: a reference to options for set() which can be altered
         *   - c) The return value is a map of (cache key => value) in the order of $keyedIds