summaryrefslogtreecommitdiff
path: root/classes/pref/prefs.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/pref/prefs.php')
-rw-r--r--classes/pref/prefs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php
index d3a5a1370..2d72a7732 100644
--- a/classes/pref/prefs.php
+++ b/classes/pref/prefs.php
@@ -27,7 +27,7 @@ class Pref_Prefs extends Handler_Protected {
const PI_ERR_NO_WORKDIR = "PI_ERR_NO_WORKDIR";
/** @param string $method */
- function csrf_ignore($method) : bool {
+ function csrf_ignore(string $method) : bool {
$csrf_ignored = array("index", "updateself", "otpqrcode");
return array_search($method, $csrf_ignored) !== false;