diff options
author | jbaldus <[email protected]> | 2021-12-02 20:57:19 +0300 |
---|---|---|
committer | jbaldus <[email protected]> | 2021-12-02 20:57:19 +0300 |
commit | 987870074bd17e24c52e51abddfaf48d63ed2f09 (patch) | |
tree | d8c34f4b13e9367f5a069973f03571854450a1fb /classes/pref/prefs.php | |
parent | 5df8dacf9fea8b2631cb674b1af77794186d7305 (diff) |
Fixes declaration of Pref_Prefs::csrf_ignore to match IHandler::csrf_ignore
Diffstat (limited to 'classes/pref/prefs.php')
-rw-r--r-- | classes/pref/prefs.php | 2 |
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; |