Merge "Make some array type hints more specific"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 22 May 2019 14:18:31 +0000 (14:18 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 22 May 2019 14:18:31 +0000 (14:18 +0000)
1  2 
includes/changes/ChangesList.php

@@@ -192,7 -192,7 +192,7 @@@ class ChangesList extends ContextSourc
         * @param RecentChange|RCCacheEntry $rc
         * @param string|bool $watched Optionally timestamp for adding watched class
         *
-        * @return array of classes
+        * @return string[] List of CSS class names
         */
        protected function getHTMLClasses( $rc, $watched ) {
                $classes = [ self::CSS_CLASS_PREFIX . 'line' ];
                return $this->watchMsgCache->getWithSetCallback(
                        "watching-users-msg:$count",
                        function () use ( $count ) {
 -                              return $this->msg( 'number_of_watching_users_RCview' )
 +                              return $this->msg( 'number-of-watching-users-for-recent-changes' )
                                        ->numParams( $count )->escaped();
                        }
                );