Remove double @return from User::isAllowedAny
authorumherirrender <umherirrender_de.wp@web.de>
Sun, 24 Aug 2014 09:05:16 +0000 (11:05 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Sun, 24 Aug 2014 09:05:16 +0000 (11:05 +0200)
And fix the @param for the varargs

Change-Id: Idb9b3037bb6cbb41e01432a278695d6a29008edd

includes/User.php

index 7e846ad..665edb9 100644 (file)
@@ -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( /*...*/ ) {