From: aude Date: Fri, 28 Mar 2014 19:23:46 +0000 (+0100) Subject: Add visibility to SpecialCategories methods X-Git-Tag: 1.31.0-rc.0~16445^2 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=da5897b5cd808d0bb09873016422e95184f934ff;p=lhc%2Fweb%2Fwiklou.git Add visibility to SpecialCategories methods Change-Id: I57c3bb76f7edc23036805424c492722f0ed77010 --- diff --git a/includes/specials/SpecialCategories.php b/includes/specials/SpecialCategories.php index b0705dc6fb..734544d408 100644 --- a/includes/specials/SpecialCategories.php +++ b/includes/specials/SpecialCategories.php @@ -31,7 +31,7 @@ class SpecialCategories extends SpecialPage { */ protected $linkRenderer = null; - function __construct() { + public function __construct() { parent::__construct( 'Categories' ); // Since we don't control the constructor parameters, we can't inject services that way. @@ -65,7 +65,7 @@ class SpecialCategories extends SpecialPage { } } - function execute( $par ) { + public function execute( $par ) { $this->initServices(); $this->setHeaders(); @@ -111,7 +111,7 @@ class CategoryPager extends AlphabeticPager { * @param string $from * @param PageLinkRenderer $linkRenderer */ - function __construct( IContextSource $context, $from, PageLinkRenderer $linkRenderer + public function __construct( IContextSource $context, $from, PageLinkRenderer $linkRenderer ) { parent::__construct( $context ); $from = str_replace( ' ', '_', $from );