IDatabase::delete() table name parameter should be a string
authorReedy <reedy@wikimedia.org>
Thu, 1 Dec 2016 21:32:09 +0000 (21:32 +0000)
committerReedy <reedy@wikimedia.org>
Thu, 1 Dec 2016 21:32:09 +0000 (21:32 +0000)
Change-Id: I7ba2cdb6cdddf04819ff80e27814f704f41d15f1

includes/libs/rdbms/database/IDatabase.php

index 48d76c4..c6055db 100644 (file)
@@ -1183,7 +1183,7 @@ interface IDatabase {
        /**
         * DELETE query wrapper.
         *
-        * @param array $table Table name
+        * @param string $table Table name
         * @param string|array $conds Array of conditions. See $conds in IDatabase::select()
         *   for the format. Use $conds == "*" to delete all rows
         * @param string $fname Name of the calling function