Type hint for $wgParser

Change-Id: I91356be31d1ed7a9e4dd1efd140c55a9d91cbc1e
This commit is contained in:
Reedy 2017-04-04 01:04:36 +01:00
parent a71b44a8b9
commit 443d8b6988

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