Remove some PHPStan ignores and make others rule-specific.

This commit is contained in:
wn_
2024-11-12 03:38:45 +00:00
parent a784305cc7
commit dca2ae60a1
9 changed files with 8 additions and 16 deletions

View File

@@ -1067,7 +1067,7 @@ class Feeds extends Handler_Protected {
if (!$url) return ["code" => 2];
PluginHost::getInstance()->chain_hooks_callback(PluginHost::HOOK_PRE_SUBSCRIBE,
/** @phpstan-ignore-next-line */
/** @phpstan-ignore closure.unusedUse, closure.unusedUse, closure.unusedUse */
function ($result) use (&$url, &$auth_login, &$auth_pass) {
// arguments are updated inside the hook (if needed)
},