aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Rest/SimpleHandler.php
diff options
context:
space:
mode:
authorDaimona Eaytoy <daimona.wiki@gmail.com>2019-08-31 18:14:38 +0200
committerKrinkle <krinklemail@gmail.com>2019-09-03 17:19:21 +0000
commitc659bc63087b10d8765056500a8ed4bce6cfdbf4 (patch)
tree80d5b9f3169b4fb9bebfd6d84b4d3215793fb870 /includes/Rest/SimpleHandler.php
parented398c0253e36f85d39452b00d3273867fe0b8ef (diff)
downloadmediawikicore-c659bc63087b10d8765056500a8ed4bce6cfdbf4.tar.gz
mediawikicore-c659bc63087b10d8765056500a8ed4bce6cfdbf4.zip
Unsuppress another phan issue (part 7)
Bug: T231636 Depends-On: I2cd24e73726394e3200a570c45d5e86b6849bfa9 Depends-On: I4fa3e6aad872434ca397325ed7a83f94973661d0 Change-Id: Ie6233561de78457cae5e4e44e220feec2d1272d8
Diffstat (limited to 'includes/Rest/SimpleHandler.php')
-rw-r--r--includes/Rest/SimpleHandler.php2
1 files changed, 2 insertions, 0 deletions
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 );
}
}