X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2Fobjectcache%2FHashBagOStuff.php;h=348f300c07acce8f5474f74b92f8b0a6e497a322;hb=5a451fd01be397db3209c1881a335423706da5c2;hp=6d0940b557d7158cdf71d16bdf4a10b138d7ade5;hpb=eb4ac89d6690ed4504206de5678a9a50e5edaadf;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/objectcache/HashBagOStuff.php b/includes/libs/objectcache/HashBagOStuff.php index 6d0940b557..348f300c07 100644 --- a/includes/libs/objectcache/HashBagOStuff.php +++ b/includes/libs/objectcache/HashBagOStuff.php @@ -47,6 +47,9 @@ class HashBagOStuff extends MediumSpecificBagOStuff { /** * @param array $params Additional parameters include: * - maxKeys : only allow this many keys (using oldest-first eviction) + * @codingStandardsIgnoreStart + * @phan-param array{logger?:Psr\Log\LoggerInterface,asyncHandler?:callable,keyspace?:string,reportDupes?:bool,syncTimeout?:int,segmentationSize?:int,segmentedValueMaxSize?:int,maxKeys?:int} $params + * @codingStandardsIgnoreEnd */ function __construct( $params = [] ) { $params['segmentationSize'] = $params['segmentationSize'] ?? INF;