Reedy has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/346213 )
Change subject: Type hint for $wgParser ...................................................................... Type hint for $wgParser Change-Id: I91356be31d1ed7a9e4dd1efd140c55a9d91cbc1e --- M CodeMirror.hooks.php 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CodeMirror refs/changes/13/346213/1 diff --git a/CodeMirror.hooks.php b/CodeMirror.hooks.php index 4dc334a..f425499 100644 --- a/CodeMirror.hooks.php +++ b/CodeMirror.hooks.php @@ -89,6 +89,7 @@ * @return array */ public static function getGlobalVariables( IContextSource $context ) { + /** @var Parser $wgParser */ global $wgParser; // if we already created these variable array, return it -- To view, visit https://gerrit.wikimedia.org/r/346213 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I91356be31d1ed7a9e4dd1efd140c55a9d91cbc1e Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/CodeMirror Gerrit-Branch: master Gerrit-Owner: Reedy <re...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits