aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Rest/EntryPoint.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Rest/EntryPoint.php')
-rw-r--r--includes/Rest/EntryPoint.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/Rest/EntryPoint.php b/includes/Rest/EntryPoint.php
index 308b601b88ad..007ee12f4080 100644
--- a/includes/Rest/EntryPoint.php
+++ b/includes/Rest/EntryPoint.php
@@ -99,6 +99,7 @@ class EntryPoint {
public static function main() {
// URL safety checks
global $wgRequest;
+ '@phan-var \MediaWiki\Request\WebRequest $wgRequest';
$context = RequestContext::getMain();