Fix param doc of MysqlMaintenance::runMysql
authorUmherirrender <umherirrender_de.wp@web.de>
Mon, 6 Aug 2018 08:58:53 +0000 (10:58 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Mon, 6 Aug 2018 08:58:53 +0000 (10:58 +0200)
Add missing var name and type

Change-Id: I26c84723ee28b21f6b9b654d9507ed680c07055a

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