diff options
author | wn_ <[email protected]> | 2021-11-12 06:16:18 +0000 |
---|---|---|
committer | wn_ <[email protected]> | 2021-11-12 06:16:18 +0000 |
commit | 2c41bc7fbc9013e79e929a31e3824cf040afc54a (patch) | |
tree | 277f236c7cb1a1e9567ce369f3da94152e5ce118 /classes/pluginhandler.php | |
parent | 9db5e402a0283deaae7d06496f410e9ab8deb1b4 (diff) |
Address PHPStan warnings in 'classes/mailer.php', 'classes/opml.php', and 'classes/pluginhandler.php'.
Diffstat (limited to 'classes/pluginhandler.php')
-rw-r--r-- | classes/pluginhandler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pluginhandler.php b/classes/pluginhandler.php index 9b3772ddc..5c73920e5 100644 --- a/classes/pluginhandler.php +++ b/classes/pluginhandler.php @@ -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"] ?? ""); |