From b93198d111ebec492ea65488a0e4364352f39c1c Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 22 Sep 2011 03:21:43 +0000 Subject: [PATCH] Added array type hinting too getGroupPermissions() --- includes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/User.php b/includes/User.php index b559ef08c4..7df864fc9b 100644 --- a/includes/User.php +++ b/includes/User.php @@ -3477,7 +3477,7 @@ class User { * * @return Array of Strings List of permission key names for given groups combined */ - public static function getGroupPermissions( $groups, $ns = null ) { + public static function getGroupPermissions( array $groups, $ns = null ) { global $wgGroupPermissions, $wgRevokePermissions; $rights = array(); -- 2.20.1