Add phpdoc and @since to SpecialUserrights::makeGroupNameList
authoraddshore <addshorewiki@gmail.com>
Fri, 1 Apr 2016 11:28:42 +0000 (14:28 +0300)
committeraddshore <addshorewiki@gmail.com>
Fri, 1 Apr 2016 11:28:42 +0000 (14:28 +0300)
Change-Id: I015a851d9fa9649ec79386071fcab2c4589f88ad

includes/specials/SpecialUserrights.php

index 740f2f7..a35cb52 100644 (file)
@@ -417,7 +417,14 @@ class UserrightsPage extends SpecialPage {
                return Status::newGood( $user );
        }
 
-       function makeGroupNameList( $ids ) {
+       /**
+        * @since 1.15
+        *
+        * @param array $ids
+        *
+        * @return string
+        */
+       public function makeGroupNameList( $ids ) {
                if ( empty( $ids ) ) {
                        return $this->msg( 'rightsnone' )->inContentLanguage()->text();
                } else {