Merge "registration: Only allow one extension to set a specific config setting"
[lhc/web/wiklou.git] / includes / cache / LinkBatch.php
index d8e3c38..30d105b 100644 (file)
@@ -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 ) {