X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecialpage%2FImageQueryPage.php;h=bafee656608f070d5c76b0da96b55b553833b131;hb=c584722cc2e3d33edae58d46c2149063b3fc6d72;hp=272d533734dfe976e46b5ba5c780f51c3faebbc2;hpb=91b07c5e0950572fb41f7d8f466fb6b3bbe98be5;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specialpage/ImageQueryPage.php b/includes/specialpage/ImageQueryPage.php index 272d533734..bafee65660 100644 --- a/includes/specialpage/ImageQueryPage.php +++ b/includes/specialpage/ImageQueryPage.php @@ -21,6 +21,8 @@ * @ingroup SpecialPage */ +use Wikimedia\Rdbms\ResultWrapper; + /** * Variant of QueryPage which uses a gallery to output results, thus * suited for reports generating images @@ -35,7 +37,7 @@ abstract class ImageQueryPage extends QueryPage { * * @param OutputPage $out OutputPage to print to * @param Skin $skin User skin to use [unused] - * @param DatabaseBase $dbr (read) connection to use + * @param IDatabase $dbr (read) connection to use * @param ResultWrapper $res Result pointer * @param int $num Number of available result rows * @param int $offset Paging offset @@ -59,7 +61,7 @@ abstract class ImageQueryPage extends QueryPage { } } - $out->addHTML( $gallery->toHtml() ); + $out->addHTML( $gallery->toHTML() ); } }