summaryrefslogtreecommitdiff
path: root/classes/api.php
diff options
context:
space:
mode:
authorwn_ <[email protected]>2021-11-13 14:05:43 +0000
committerwn_ <[email protected]>2021-11-13 14:05:48 +0000
commit1ec003ce352f5bf1418986d7b96c35e75231ffde (patch)
treeaec9ad492da61fa7d960bad96ad51472efb251df /classes/api.php
parent25775bb4075e70aa4fad4620d077d4a0e59bb139 (diff)
Typing IHandler methods, typing Handler_Public, fix type of $feed_id (might be tag).
Diffstat (limited to 'classes/api.php')
-rwxr-xr-xclasses/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/api.php b/classes/api.php
index 1835d487c..125741c73 100755
--- a/classes/api.php
+++ b/classes/api.php
@@ -27,7 +27,7 @@ class API extends Handler {
]);
}
- function before($method) {
+ function before(string $method): bool {
if (parent::before($method)) {
header("Content-Type: text/json");