summaryrefslogtreecommitdiff
path: root/classes/pref/filters.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/pref/filters.php')
-rwxr-xr-xclasses/pref/filters.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pref/filters.php b/classes/pref/filters.php
index c4017e4ec..8bc32939d 100755
--- a/classes/pref/filters.php
+++ b/classes/pref/filters.php
@@ -1,7 +1,7 @@
<?php
class Pref_Filters extends Handler_Protected {
- function csrf_ignore($method) {
+ function csrf_ignore(string $method): bool {
$csrf_ignored = array("index", "getfiltertree", "savefilterorder");
return array_search($method, $csrf_ignored) !== false;