Umherirrender has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/174219

Change subject: Use Parser::SFH_OBJECT_ARGS class const
......................................................................

Use Parser::SFH_OBJECT_ARGS class const

Instead of the global const

Change-Id: I2740eb1a5cc7eeefb29c4feddf1848b9d563b75f
---
M PhpTags.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PhpTags 
refs/changes/19/174219/1

diff --git a/PhpTags.php b/PhpTags.php
index 0ff2696..36fd112 100644
--- a/PhpTags.php
+++ b/PhpTags.php
@@ -43,7 +43,7 @@
  * @codeCoverageIgnore
  */
 $wgHooks['ParserFirstCallInit'][] = function( Parser &$parser ) {
-       $parser->setFunctionHook( 'phptag', 'PhpTags::renderFunction', 
SFH_OBJECT_ARGS );
+       $parser->setFunctionHook( 'phptag', 'PhpTags::renderFunction', 
Parser::SFH_OBJECT_ARGS );
        $parser->setHook( 'phptag', 'PhpTags::render' );
        return true;
 };

-- 
To view, visit https://gerrit.wikimedia.org/r/174219
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2740eb1a5cc7eeefb29c4feddf1848b9d563b75f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/PhpTags
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <umherirrender_de...@web.de>

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

Reply via email to