From 74af4f507c297d75c1c62cb82b8eb47d65d85630 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Sat, 24 Feb 2018 22:31:10 +0100 Subject: [PATCH] Fix phpdoc for Maintenance::getDB It has the same parameter as wfGetDB including $groups as string Change-Id: Id531488e1c2bddce71946423010620323e08bc0a --- maintenance/Maintenance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/Maintenance.php b/maintenance/Maintenance.php index c91fbb43ab..1778a79990 100644 --- a/maintenance/Maintenance.php +++ b/maintenance/Maintenance.php @@ -1294,7 +1294,7 @@ abstract class Maintenance { * This function has the same parameters as wfGetDB() * * @param int $db DB index (DB_REPLICA/DB_MASTER) - * @param array $groups default: empty array + * @param string|string[] $groups default: empty array * @param string|bool $wiki default: current wiki * @return IMaintainableDatabase */ -- 2.20.1