From 3bb675b1646b3b64ad9d4fd963e6fe9490c4e54c Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Tue, 8 Mar 2016 08:30:25 +0100 Subject: [PATCH] Explicitly declare ApiFormatBase::initPrinter public It's overridden three times, and in all cases it's public. Change-Id: I1712319076b38bbb5418c60b954e174354831be3 --- includes/api/ApiFormatBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiFormatBase.php b/includes/api/ApiFormatBase.php index 7c203d9f9d..c826bbad95 100644 --- a/includes/api/ApiFormatBase.php +++ b/includes/api/ApiFormatBase.php @@ -151,7 +151,7 @@ abstract class ApiFormatBase extends ApiBase { * Initialize the printer function and prepare the output headers. * @param bool $unused Always false since 1.25 */ - function initPrinter( $unused = false ) { + public function initPrinter( $unused = false ) { if ( $this->mDisabled ) { return; } -- 2.20.1