diff options
Diffstat (limited to 'classes/pref/labels.php')
-rw-r--r-- | classes/pref/labels.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pref/labels.php b/classes/pref/labels.php index 0eb88ea36..81b85481b 100644 --- a/classes/pref/labels.php +++ b/classes/pref/labels.php @@ -1,7 +1,7 @@ <?php class Pref_Labels extends Handler_Protected { - function csrf_ignore($method) { + function csrf_ignore(string $method): bool { $csrf_ignored = array("index", "getlabeltree"); return array_search($method, $csrf_ignored) !== false; |