From 2f491ef504b0489afd8a85d6a145058c29c46e61 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sun, 24 Aug 2014 11:05:16 +0200 Subject: [PATCH] Remove double @return from User::isAllowedAny And fix the @param for the varargs Change-Id: Idb9b3037bb6cbb41e01432a278695d6a29008edd --- includes/User.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/includes/User.php b/includes/User.php index 7e846ad301..665edb973c 100644 --- a/includes/User.php +++ b/includes/User.php @@ -3086,10 +3086,8 @@ class User implements IDBAccessObject { /** * Check if user is allowed to access a feature / make an action * - * @internal param \String $varargs permissions to test + * @param string $permissions,... Permissions to test * @return bool True if user is allowed to perform *any* of the given actions - * - * @return bool */ public function isAllowedAny( /*...*/ ) { $permissions = func_get_args(); @@ -3103,7 +3101,7 @@ class User implements IDBAccessObject { /** * - * @internal param $varargs string + * @param string $permissions,... Permissions to test * @return bool True if the user is allowed to perform *all* of the given actions */ public function isAllowedAll( /*...*/ ) { -- 2.20.1