1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:25:55 +00:00

fix several issues reported by phpstan

This commit is contained in:
Andrew Dolgov
2021-02-22 14:41:09 +03:00
parent 043ef3dad6
commit be4e7b1340
16 changed files with 35 additions and 54 deletions

View File

@@ -1067,22 +1067,16 @@ class Feeds extends Handler_Protected {
switch ($id) {
case 0:
return "archive";
break;
case -1:
return "star";
break;
case -2:
return "rss_feed";
break;
case -3:
return "whatshot";
break;
case -4:
return "inbox";
break;
case -6:
return "restore";
break;
default:
if ($id < LABEL_BASE_INDEX) {
return "label";