mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 10:45:56 +00:00
Address PHPStan warnings in 'classes/mailer.php', 'classes/opml.php', and 'classes/pluginhandler.php'.
This commit is contained in:
@@ -4,7 +4,7 @@ class PluginHandler extends Handler_Protected {
|
||||
return true;
|
||||
}
|
||||
|
||||
function catchall($method) {
|
||||
function catchall(string $method): void {
|
||||
$plugin_name = clean($_REQUEST["plugin"]);
|
||||
$plugin = PluginHost::getInstance()->get_plugin($plugin_name);
|
||||
$csrf_token = ($_POST["csrf_token"] ?? "");
|
||||
|
||||
Reference in New Issue
Block a user