X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Futils%2FBatchRowWriter.php;h=c146e964784114db95add34d2becbc1df383bba0;hb=949592012ea0bb73f6e2395551896919ad052abd;hp=a6e47c89764a52da65a1c117a5f5dfcdb330b702;hpb=c8d361a38027ef5d808225b8a83f15417248aa67;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/utils/BatchRowWriter.php b/includes/utils/BatchRowWriter.php index a6e47c8976..c146e96478 100644 --- a/includes/utils/BatchRowWriter.php +++ b/includes/utils/BatchRowWriter.php @@ -20,7 +20,9 @@ * @file * @ingroup Maintenance */ -use \MediaWiki\MediaWikiServices; + +use MediaWiki\MediaWikiServices; +use Wikimedia\Rdbms\IDatabase; class BatchRowWriter { /** @@ -40,8 +42,8 @@ class BatchRowWriter { /** * @param IDatabase $db The database to write to - * @param string $table The name of the table to update - * @param string|bool $clusterName A cluster name valid for use with LBFactory + * @param string $table The name of the table to update + * @param string|bool $clusterName A cluster name valid for use with LBFactory */ public function __construct( IDatabase $db, $table, $clusterName = false ) { $this->db = $db;