From c659bc63087b10d8765056500a8ed4bce6cfdbf4 Mon Sep 17 00:00:00 2001 From: Daimona Eaytoy Date: Sat, 31 Aug 2019 18:14:38 +0200 Subject: Unsuppress another phan issue (part 7) Bug: T231636 Depends-On: I2cd24e73726394e3200a570c45d5e86b6849bfa9 Depends-On: I4fa3e6aad872434ca397325ed7a83f94973661d0 Change-Id: Ie6233561de78457cae5e4e44e220feec2d1272d8 --- includes/Rest/SimpleHandler.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'includes/Rest/SimpleHandler.php') diff --git a/includes/Rest/SimpleHandler.php b/includes/Rest/SimpleHandler.php index 85749c622936..3718d66b9350 100644 --- a/includes/Rest/SimpleHandler.php +++ b/includes/Rest/SimpleHandler.php @@ -8,12 +8,14 @@ namespace MediaWiki\Rest; * * run() must be declared in the subclass. It cannot be declared as abstract * here because it has a variable parameter list. + * @todo Declare it as abstract after dropping HHVM * * @package MediaWiki\Rest */ class SimpleHandler extends Handler { public function execute() { $params = array_values( $this->getRequest()->getPathParams() ); + // @phan-suppress-next-line PhanUndeclaredMethod return $this->run( ...$params ); } } -- cgit v1.2.3