diff --git a/includes/common/ApiScribuntoConsole.php b/includes/common/ApiScribuntoConsole.php index 54d3865a..8fe1371c 100644 --- a/includes/common/ApiScribuntoConsole.php +++ b/includes/common/ApiScribuntoConsole.php @@ -23,6 +23,7 @@ class ApiScribuntoConsole extends ApiBase { } $cache = ObjectCache::getInstance( CACHE_ANYTHING ); + // @phan-suppress-next-line PhanParamTooMany $sessionKey = $cache->makeKey( 'scribunto-console', $this->getUser()->getId(), $sessionId ); $session = null; $sessionIsNew = false; diff --git a/includes/common/Hooks.php b/includes/common/Hooks.php index 8ea00c04..cd5eec83 100644 --- a/includes/common/Hooks.php +++ b/includes/common/Hooks.php @@ -210,6 +210,7 @@ class ScribuntoHooks { } $cacheVersion = '1'; + // @phan-suppress-next-line PhanParamTooMany $key = $cache->makeGlobalKey( __METHOD__, $cacheVersion, $threshold ); // This is a classic "read-update-write" critical section with no