X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Flibs%2Fobjectcache%2FMultiWriteBagOStuff.php;h=77a78830e2b9ac6b4a2c95c8f845ef4773d2b811;hp=d0aa380bf6cbd30cdaec7fd418ec62f6adf18aa6;hb=a1ef77b2d80830fbcb617a83961d78cff9d6e384;hpb=c1d51d0c703a61010eb8cc73207e8a074d8c8e2e diff --git a/includes/libs/objectcache/MultiWriteBagOStuff.php b/includes/libs/objectcache/MultiWriteBagOStuff.php index d0aa380bf6..77a78830e2 100644 --- a/includes/libs/objectcache/MultiWriteBagOStuff.php +++ b/includes/libs/objectcache/MultiWriteBagOStuff.php @@ -46,7 +46,7 @@ class MultiWriteBagOStuff extends BagOStuff { /** * $params include: * - caches: A numbered array of either ObjectFactory::getObjectFromSpec - * arrays yeilding BagOStuff objects or direct BagOStuff objects. + * arrays yielding BagOStuff objects or direct BagOStuff objects. * If using the former, the 'args' field *must* be set. * The first cache is the primary one, being the first to * be read in the fallback chain. Writes happen to all stores @@ -61,6 +61,7 @@ class MultiWriteBagOStuff extends BagOStuff { * invalidation uses logical TTLs, invalidation uses etag/timestamp * validation against the DB, or merge() is used to handle races. * @param array $params + * @phan-param array{caches:array,replication:string} $params * @throws InvalidArgumentException */ public function __construct( $params ) {