mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-27 15:40:00 +00:00
Merge "Type hint for $wgParser"
This commit is contained in:
commit
ae12f7758e
|
@ -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