jenkins-bot has submitted this change and it was merged. Change subject: Make declaration of ApiFormatRaw compatible with ApiFormatBase ......................................................................
Make declaration of ApiFormatRaw compatible with ApiFormatBase This was causing PHP warnings. Change-Id: I96f66672756be3c09c20aea053f8a29241f56a19 --- M includes/api/ApiFormatRaw.php 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Anomie: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/api/ApiFormatRaw.php b/includes/api/ApiFormatRaw.php index 235fca1..81d2f4f 100644 --- a/includes/api/ApiFormatRaw.php +++ b/includes/api/ApiFormatRaw.php @@ -55,7 +55,7 @@ return $data['mime']; } - public function initPrinter( $unused ) { + public function initPrinter( $unused = false ) { $data = $this->getResultData(); if ( isset( $data['error'] ) ) { $this->errorFallback->initPrinter( $unused ); -- To view, visit https://gerrit.wikimedia.org/r/167283 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I96f66672756be3c09c20aea053f8a29241f56a19 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Hoo man <h...@online.de> Gerrit-Reviewer: Anomie <bjor...@wikimedia.org> Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits