require_once __DIR__ . '/Maintenance.php';
+use Wikimedia\Rdbms\IDatabase;
+
/**
* Maintenance script to run a database query in batches and wait for replica DBs.
*
}
}
-$maintClass = "BatchedQueryRunner";
+$maintClass = BatchedQueryRunner::class;
require_once RUN_MAINTENANCE_IF_MAIN;