MarkAHershberger has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/383486 )
Change subject: Match hook, avoid warnings
......................................................................
Match hook, avoid warnings
Bug: T177897
Change-Id: I2cdb4943f4a861474134cdee7f3988524bada74f
---
M common/Hooks.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Scribunto
refs/changes/86/383486/1
diff --git a/common/Hooks.php b/common/Hooks.php
index ab75dd2..62ca956 100644
--- a/common/Hooks.php
+++ b/common/Hooks.php
@@ -389,12 +389,12 @@
}
/**
- * @param Article &$article
+ * @param Article $article
* @param bool &$outputDone
* @param bool &$pcache
* @return bool
*/
- public static function showDocPageHeader( Article &$article,
&$outputDone, &$pcache ) {
+ public static function showDocPageHeader( Article $article,
&$outputDone, &$pcache ) {
$title = $article->getTitle();
if ( Scribunto::isDocPage( $title, $forModule ) ) {
$article->getContext()->getOutput()->addHTML(
--
To view, visit https://gerrit.wikimedia.org/r/383486
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2cdb4943f4a861474134cdee7f3988524bada74f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Scribunto
Gerrit-Branch: master
Gerrit-Owner: MarkAHershberger <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits