summaryrefslogtreecommitdiff
path: root/classes/pluginhandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/pluginhandler.php')
-rw-r--r--classes/pluginhandler.php2
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"] ?? "");