diff options
Diffstat (limited to 'classes/pref/system.php')
-rw-r--r-- | classes/pref/system.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pref/system.php b/classes/pref/system.php index 8bebcc7ce..356adee0c 100644 --- a/classes/pref/system.php +++ b/classes/pref/system.php @@ -4,7 +4,7 @@ class Pref_System extends Handler_Administrative { private $log_page_limit = 15; - function csrf_ignore($method) { + function csrf_ignore(string $method): bool { $csrf_ignored = array("index"); return array_search($method, $csrf_ignored) !== false; |