From 152eb2c8624e7169eadd95628b825dd1c960e2a1 Mon Sep 17 00:00:00 2001 From: Reedy Date: Sat, 7 Apr 2012 17:36:00 +0100 Subject: [PATCH] setGroup doesn't return anything, so don't try and return its value Fix docs on getGroup Change-Id: Ia5f29013e01eee3b97dc755486175c21c5e24f4f --- includes/SpecialPage.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 411d5e4ba2..b529f863f3 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -124,19 +124,18 @@ class SpecialPage { * * @param $page Mixed: SpecialPage or string * @param $group String - * @return null * @deprecated since 1.18 call SpecialPageFactory method directly */ static function setGroup( $page, $group ) { wfDeprecated( __METHOD__, '1.18' ); - return SpecialPageFactory::setGroup( $page, $group ); + SpecialPageFactory::setGroup( $page, $group ); } /** * Get the group that the special page belongs in on Special:SpecialPage * * @param $page SpecialPage - * @return null + * @return string * @deprecated since 1.18 call SpecialPageFactory method directly */ static function getGroup( &$page ) { -- 2.20.1