From 32c4831cf1d97f091d8a4b7b67e41b9534095b52 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 20 Dec 2017 14:24:43 -0800 Subject: [PATCH] objectcache: fix getMultiWithUnionSetCallback() doc Change-Id: I5700ff8ccbe2ef3aa6730e20bdc17314bceade42 --- includes/libs/objectcache/WANObjectCache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/libs/objectcache/WANObjectCache.php b/includes/libs/objectcache/WANObjectCache.php index 36b45a1f54..562819ec4e 100644 --- a/includes/libs/objectcache/WANObjectCache.php +++ b/includes/libs/objectcache/WANObjectCache.php @@ -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) - * 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 -- 2.20.1