aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiQuery.php
diff options
context:
space:
mode:
authorKunal Mehta <legoktm@member.fsf.org>2017-09-10 15:14:33 -0700
committerUmherirrender <umherirrender_de.wp@web.de>2017-09-11 17:46:24 +0000
commitae98cdde0c4ac0f49ddfdeef33ba8eb6b751b254 (patch)
tree00458b928efb8edc0d7926cd0168418ca65ba63a /includes/api/ApiQuery.php
parent2eef6506d3a9108ed4eecb6e4298c013f6753b79 (diff)
downloadmediawikicore-ae98cdde0c4ac0f49ddfdeef33ba8eb6b751b254.tar.gz
mediawikicore-ae98cdde0c4ac0f49ddfdeef33ba8eb6b751b254.zip
ApiQuery: Fix type docs for $groups in ApiQueryBase::selectNamedDB() call chain
Change-Id: Iaa2ed914347fc4a1b477406cc8b83d7f21adf1a7
Diffstat (limited to 'includes/api/ApiQuery.php')
-rw-r--r--includes/api/ApiQuery.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/api/ApiQuery.php b/includes/api/ApiQuery.php
index 987bb99289f6..44a46b8d1664 100644
--- a/includes/api/ApiQuery.php
+++ b/includes/api/ApiQuery.php
@@ -169,7 +169,7 @@ class ApiQuery extends ApiBase {
* as the first, regardless of the values of $db and $groups
* @param string $name Name to assign to the database connection
* @param int $db One of the DB_* constants
- * @param array $groups Query groups
+ * @param string|string[] $groups Query groups
* @return IDatabase
*/
public function getNamedDB( $name, $db, $groups ) {