jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/383492 )
Change subject: Match hook, avoid warnings
......................................................................
Match hook, avoid warnings
Bug: T177897
Change-Id: Ia559f6925edb10131c54eb683245fbc5ee20f358
---
M ApprovedRevs.hooks.php
1 file changed, 3 insertions(+), 3 deletions(-)
Approvals:
Yaron Koren: Looks good to me, approved
jenkins-bot: Verified
diff --git a/ApprovedRevs.hooks.php b/ApprovedRevs.hooks.php
index de014da..6791533 100644
--- a/ApprovedRevs.hooks.php
+++ b/ApprovedRevs.hooks.php
@@ -801,13 +801,13 @@
*
* @since 0.5.6
*
- * @param Article &$article
+ * @param Article $article
* @param boolean $outputDone
* @param boolean $useParserCache
*
* @return true
*/
- public static function setArticleHeader( Article &$article,
&$outputDone, &$useParserCache ) {
+ public static function setArticleHeader( Article $article,
&$outputDone, &$useParserCache ) {
global $wgOut, $wgRequest, $egApprovedRevsBlankIfUnapproved;
// For now, we only set the header if "blank if unapproved"
@@ -889,7 +889,7 @@
* a header message stating that, if the setting to display this
* message is activated.
*/
- public static function displayNotApprovedHeader( Article &$article,
&$outputDone, &$useParserCache ) {
+ public static function displayNotApprovedHeader( Article $article,
&$outputDone, &$useParserCache ) {
global $egApprovedRevsShowNotApprovedMessage;
if ( !$egApprovedRevsShowNotApprovedMessage) {
return true;
--
To view, visit https://gerrit.wikimedia.org/r/383492
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia559f6925edb10131c54eb683245fbc5ee20f358
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ApprovedRevs
Gerrit-Branch: master
Gerrit-Owner: MarkAHershberger <[email protected]>
Gerrit-Reviewer: Yaron Koren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits