Bump PHPStan to 2.1.30 and address new findings.

Also some minor adjacent cleanup.
This commit is contained in:
supahgreg
2025-10-05 20:51:13 +00:00
parent ec367b23f4
commit e0b116f904
11 changed files with 97 additions and 91 deletions

View File

@@ -356,9 +356,7 @@ class Feeds extends Handler_Protected {
}
}
if (isset($rgba_cache[$feed_id])) {
$line['feed_bg_color'] = 'rgba(' . implode(",", $rgba_cache[$feed_id]) . ',0.3)';
}
$line['feed_bg_color'] = 'rgba(' . implode(',', $rgba_cache[$feed_id]) . ',0.3)';
PluginHost::getInstance()->chain_hooks_callback(PluginHost::HOOK_RENDER_ARTICLE_CDM,
function ($result, $plugin) use (&$line) {