/**
* Lock the appropriate tables for the script
- * @param DatabaseBase $db
- * @param string $extraTable The name of any extra tables to lock (eg: text)
+ * @param Database $db
+ * @param string[] $extraTable The name of any extra tables to lock (eg: text)
*/
private function lockTables( $db, $extraTable = [] ) {
$tbls = [ 'page', 'revision', 'redirect' ];