summaryrefslogtreecommitdiff
path: root/classes/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/api.php')
-rwxr-xr-xclasses/api.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/api.php b/classes/api.php
index a0ee773c1..31672575a 100755
--- a/classes/api.php
+++ b/classes/api.php
@@ -363,6 +363,7 @@ class API extends Handler {
}
$this->_wrap(self::STATUS_OK, $articles);
+ // @phpstan-ignore-next-line
} else {
$this->_wrap(self::STATUS_ERR, array("error" => self::E_INCORRECT_USAGE));
}