Merge "Type hint for $wgParser"

This commit is contained in:
jenkins-bot 2017-04-06 07:06:08 +00:00 committed by Gerrit Code Review
commit ae12f7758e

View file

@ -89,6 +89,7 @@ class CodeMirrorHooks {
* @return array
*/
public static function getGlobalVariables( IContextSource $context ) {
/** @var Parser $wgParser */
global $wgParser;
// if we already created these variable array, return it