From 564db14060fa5e649bcb164849318e268ec9a2d5 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Mon, 14 Jul 2014 14:33:23 +0200 Subject: [PATCH] Fix doc of ChangesListSpecialPage::doHeader The function does not return anything Change-Id: Ibb23838843a9a1cb8bb23347c3b2de7437861ae0 --- includes/specialpage/ChangesListSpecialPage.php | 3 +-- includes/specials/SpecialRecentchanges.php | 3 +-- includes/specials/SpecialWatchlist.php | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) 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(); -- 2.20.1