X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fuser%2FBotPassword.php;h=9a955fb9284e34d212006b58366a19749a297424;hb=cb3ae021726f3ce549eee11f09e34bdf395d9db7;hp=eae57f40dc761b59c59aa4a0b66c478d97c77dad;hpb=3d653e8ab542e502f4dcf574c9e4917cf56a5f8c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/user/BotPassword.php b/includes/user/BotPassword.php index eae57f40dc..9a955fb928 100644 --- a/includes/user/BotPassword.php +++ b/includes/user/BotPassword.php @@ -19,6 +19,7 @@ */ use MediaWiki\Session\BotPasswordSessionProvider; +use Wikimedia\Rdbms\IMaintainableDatabase; /** * Utility class for bot passwords @@ -68,7 +69,7 @@ class BotPassword implements IDBAccessObject { /** * Get a database connection for the bot passwords database * @param int $db Index of the connection to get, e.g. DB_MASTER or DB_REPLICA. - * @return DatabaseBase + * @return IMaintainableDatabase */ public static function getDB( $db ) { global $wgBotPasswordsCluster, $wgBotPasswordsDatabase;