X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fcache%2FLinkBatch.php;h=30d105b212bd55f1f04a03f50232911751e0136d;hp=d8e3c3817629de7538b68a8137b3c91e692e9b37;hb=2480aae0c97d822e10b50619e7b48b25c45af073;hpb=4a5f646a7fea7cbe0421c5cf38b72bae5c1bcf65 diff --git a/includes/cache/LinkBatch.php b/includes/cache/LinkBatch.php index d8e3c38176..30d105b212 100644 --- a/includes/cache/LinkBatch.php +++ b/includes/cache/LinkBatch.php @@ -43,7 +43,7 @@ class LinkBatch { protected $caller; /** - * @param LinkTarget[] $arr Initial items to be added to the batch + * @param Traversable|LinkTarget[] $arr Initial items to be added to the batch */ public function __construct( $arr = [] ) { foreach ( $arr as $item ) { @@ -131,7 +131,7 @@ class LinkBatch { * Do the query and add the results to a given LinkCache object * Return an array mapping PDBK to ID * - * @param LinkCache $cache + * @param LinkCache &$cache * @return array Remaining IDs */ protected function executeInto( &$cache ) {