MarkAHershberger has uploaded a new change for review. ( 
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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ApprovedRevs 
refs/changes/92/383492/1

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: newchange
Gerrit-Change-Id: Ia559f6925edb10131c54eb683245fbc5ee20f358
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ApprovedRevs
Gerrit-Branch: master
Gerrit-Owner: MarkAHershberger <m...@nichework.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to