From: umherirrender Date: Sun, 24 Aug 2014 09:05:16 +0000 (+0200) Subject: Remove double @return from User::isAllowedAny X-Git-Tag: 1.31.0-rc.0~14292^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/rappels.php?a=commitdiff_plain;h=2f491ef504b0489afd8a85d6a145058c29c46e61;p=lhc%2Fweb%2Fwiklou.git Remove double @return from User::isAllowedAny And fix the @param for the varargs Change-Id: Idb9b3037bb6cbb41e01432a278695d6a29008edd --- 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( /*...*/ ) {