X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fuser%2FBotPassword.php;h=9a955fb9284e34d212006b58366a19749a297424;hb=dae4c94d893057345f62a3d498fb85c0a54de5a6;hp=57610fc9e40251f2a290eff89947a58a12ca9f46;hpb=3a2853e218acb586a00f2e59638de4176aee287f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/user/BotPassword.php b/includes/user/BotPassword.php index 57610fc9e4..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 Database + * @return IMaintainableDatabase */ public static function getDB( $db ) { global $wgBotPasswordsCluster, $wgBotPasswordsDatabase;