From: umherirrender Date: Mon, 14 Jul 2014 12:33:23 +0000 (+0200) Subject: Fix doc of ChangesListSpecialPage::doHeader X-Git-Tag: 1.31.0-rc.0~14894^2 X-Git-Url: http://git.cyclocoop.org//%22javascript:ModifierStyle%28%27%22.%24id.%22%27%29/%22?a=commitdiff_plain;h=564db14060fa5e649bcb164849318e268ec9a2d5;p=lhc%2Fweb%2Fwiklou.git Fix doc of ChangesListSpecialPage::doHeader The function does not return anything Change-Id: Ibb23838843a9a1cb8bb23347c3b2de7437861ae0 --- diff --git a/includes/specialpage/ChangesListSpecialPage.php b/includes/specialpage/ChangesListSpecialPage.php index ad1ee36a8d..008200d45c 100644 --- a/includes/specialpage/ChangesListSpecialPage.php +++ b/includes/specialpage/ChangesListSpecialPage.php @@ -348,10 +348,9 @@ abstract class ChangesListSpecialPage extends SpecialPage { abstract public function outputChangesList( $rows, $opts ); /** - * Return the text to be displayed above the changes + * Set the text to be displayed above the changes * * @param FormOptions $opts - * @return string XHTML */ public function doHeader( $opts ) { $this->setTopText( $opts ); diff --git a/includes/specials/SpecialRecentchanges.php b/includes/specials/SpecialRecentchanges.php index f770307801..aa8ed82be6 100644 --- a/includes/specials/SpecialRecentchanges.php +++ b/includes/specials/SpecialRecentchanges.php @@ -350,10 +350,9 @@ class SpecialRecentChanges extends ChangesListSpecialPage { } /** - * Return the text to be displayed above the changes + * Set the text to be displayed above the changes * * @param FormOptions $opts - * @return string XHTML */ public function doHeader( $opts ) { global $wgScript; diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php index 21a1f9b816..57659e7289 100644 --- a/includes/specials/SpecialWatchlist.php +++ b/includes/specials/SpecialWatchlist.php @@ -388,10 +388,9 @@ class SpecialWatchlist extends ChangesListSpecialPage { } /** - * Return the text to be displayed above the changes + * Set the text to be displayed above the changes * * @param FormOptions $opts - * @return string XHTML */ public function doHeader( $opts ) { $user = $this->getUser();