aboutsummaryrefslogtreecommitdiff
path: root/classes/Pref_Prefs.php
diff options
context:
space:
mode:
authorsupahgreg <supahgreg@users.noreply.github.com>2025-10-04 21:20:32 +0000
committersupahgreg <supahgreg@users.noreply.github.com>2025-10-04 21:20:32 +0000
commit664f37ae71eba123a5ee5b1ad3f4a54329b8f484 (patch)
tree21a17b8606976e6998dd97f7f6ee1e746bc6f811 /classes/Pref_Prefs.php
parent591ee81ad3c658da7982b27a272408074fe5af15 (diff)
Appeasing PHPStan.
The two if statements involved are related to calls to 'tt-rss.org' that are intentionally disabled.
Diffstat (limited to 'classes/Pref_Prefs.php')
-rw-r--r--classes/Pref_Prefs.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/Pref_Prefs.php b/classes/Pref_Prefs.php
index 2697ed6e9..c50e61016 100644
--- a/classes/Pref_Prefs.php
+++ b/classes/Pref_Prefs.php
@@ -1302,6 +1302,7 @@ class Pref_Prefs extends Handler_Protected {
// $content = json_decode(UrlHelper::fetch(['url' => 'https://tt-rss.org/plugins.json']), true);
$content = false;
+ /** @phpstan-ignore if.alwaysFalse (intentionally disabling for now) */
if ($content) {
return $content;
}