From 465ded4e85b868595a30aa28f95d071e4af4e771 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 13 Mar 2021 06:18:31 -0800 Subject: [PATCH] objectcache: fix phan comment for "minAsOf" in WANObjectCache::getWithSetCallback() Change-Id: Icae9936d429b213aa6f433c65c30e22d379b26b8 --- includes/libs/objectcache/wancache/WANObjectCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/libs/objectcache/wancache/WANObjectCache.php b/includes/libs/objectcache/wancache/WANObjectCache.php index cfe6cc8e27a..8624084810d 100644 --- a/includes/libs/objectcache/wancache/WANObjectCache.php +++ b/includes/libs/objectcache/wancache/WANObjectCache.php @@ -1401,7 +1401,7 @@ class WANObjectCache implements * Default: null. * @param array $cbParams Custom field/value map to pass to the callback (since 1.35) * @codingStandardsIgnoreStart - * @phan-param array{checkKeys?:string[],graceTTL?:int,lockTSE?:int,busyValue?:mixed,pcTTL?:int,pcGroup?:string,version?:int,minAsOf?:int,hotTTR?:int,lowTTL?:int,ageNew?:int,staleTTL?:int,touchedCallback?:callable} $opts + * @phan-param array{checkKeys?:string[],graceTTL?:int,lockTSE?:int,busyValue?:mixed,pcTTL?:int,pcGroup?:string,version?:int,minAsOf?:float|int,hotTTR?:int,lowTTL?:int,ageNew?:int,staleTTL?:int,touchedCallback?:callable} $opts * @codingStandardsIgnoreEnd * @return mixed Value found or written to the key * @note Options added in 1.28: version, busyValue, hotTTR, ageNew, pcGroup, minAsOf