X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FfetchText.php;h=9c5a375154aa3f3cca84066c86b7624468d37cb3;hb=e31c9986a17f036ec89e2ef3f04519026e42ebf3;hp=9dee6e530dbf69d5d104e4ddd39062141337fe4d;hpb=72b9240497311a2fa5f5b76d9e8bb953dc59853f;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/fetchText.php b/maintenance/fetchText.php index 9dee6e530d..9c5a375154 100644 --- a/maintenance/fetchText.php +++ b/maintenance/fetchText.php @@ -24,6 +24,8 @@ require_once __DIR__ . '/Maintenance.php'; +use Wikimedia\Rdbms\IDatabase; + /** * Maintenance script used to fetch page text in a subprocess. * @@ -71,7 +73,7 @@ class FetchText extends Maintenance { /** * May throw a database error if, say, the server dies during query. - * @param Database $db + * @param IDatabase $db * @param int $id The old_id * @return string */