X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcache%2FLinkBatch.php;h=3edfe1b9e92a780c4f6e6f9da04b69bdef05800c;hb=25242105e8fd03c9900250bdf9ea91be9a286625;hp=7a0826e46691352600fe7508183ea8174d44e116;hpb=109b8fb65d56655af73fd11d63d48338f26147a2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/cache/LinkBatch.php b/includes/cache/LinkBatch.php index 7a0826e466..3edfe1b9e9 100644 --- a/includes/cache/LinkBatch.php +++ b/includes/cache/LinkBatch.php @@ -22,7 +22,7 @@ */ use MediaWiki\Linker\LinkTarget; use MediaWiki\MediaWikiServices; -use Wikimedia\Rdbms\ResultWrapper; +use Wikimedia\Rdbms\IResultWrapper; use Wikimedia\Rdbms\IDatabase; /** @@ -146,13 +146,13 @@ class LinkBatch { } /** - * Add a ResultWrapper containing IDs and titles to a LinkCache object. + * Add a result wrapper containing IDs and titles to a LinkCache object. * As normal, titles will go into the static Title cache field. * This function *also* stores extra fields of the title used for link * parsing to avoid extra DB queries. * * @param LinkCache $cache - * @param ResultWrapper $res + * @param IResultWrapper $res * @return array Array of remaining titles */ public function addResultToCache( $cache, $res ) { @@ -187,8 +187,8 @@ class LinkBatch { } /** - * Perform the existence test query, return a ResultWrapper with page_id fields - * @return bool|ResultWrapper + * Perform the existence test query, return a result wrapper with page_id fields + * @return bool|IResultWrapper */ public function doQuery() { if ( $this->isEmpty() ) {