mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-27 15:40:00 +00:00
Type hint for $wgParser
Change-Id: I91356be31d1ed7a9e4dd1efd140c55a9d91cbc1e
This commit is contained in:
parent
a71b44a8b9
commit
443d8b6988
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue