1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:35:56 +00:00

Typing IHandler methods, typing Handler_Public, fix type of $feed_id (might be tag).

This commit is contained in:
wn_
2021-11-13 14:05:43 +00:00
parent 25775bb407
commit 1ec003ce35
7 changed files with 49 additions and 28 deletions

View File

@@ -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");