From da5897b5cd808d0bb09873016422e95184f934ff Mon Sep 17 00:00:00 2001 From: aude Date: Fri, 28 Mar 2014 20:23:46 +0100 Subject: [PATCH] Add visibility to SpecialCategories methods Change-Id: I57c3bb76f7edc23036805424c492722f0ed77010 --- includes/specials/SpecialCategories.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ); -- 2.20.1