Merge "Fix param doc of MysqlMaintenance::runMysql"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 6 Aug 2018 15:20:52 +0000 (15:20 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 6 Aug 2018 15:20:52 +0000 (15:20 +0000)
maintenance/mysql.php

index 1b575bb..9424402 100644 (file)
@@ -106,9 +106,9 @@ class MysqlMaintenance extends Maintenance {
         * Run the mysql client for the given server info
         *
         * @param array $info
-        * @param string|false The DB name, or false to use the main wiki DB
+        * @param string|false $dbName The DB name, or false to use the main wiki DB
         *
-        * @return The desired exit status
+        * @return int The desired exit status
         */
        private function runMysql( $info, $dbName ) {
                // Write the password to an option file to avoid disclosing it to other