summaryrefslogtreecommitdiff
path: root/classes/handler.php
diff options
context:
space:
mode:
authorwn_ <[email protected]>2021-11-12 02:01:31 +0000
committerwn_ <[email protected]>2021-11-12 02:01:31 +0000
commit5606e38bff619c388c9621dde30f0d54127a21f4 (patch)
tree1841d1057ac1b05df9b8854696042ecae1124056 /classes/handler.php
parent57bf56f7945b639d0e39f4c7ad9da161a4a18888 (diff)
Update signature of handler 'csrf_ignore' to include types.
Diffstat (limited to 'classes/handler.php')
-rw-r--r--classes/handler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler.php b/classes/handler.php
index 09557c284..4c79628db 100644
--- a/classes/handler.php
+++ b/classes/handler.php
@@ -8,7 +8,7 @@ class Handler implements IHandler {
$this->args = $args;
}
- function csrf_ignore($method) {
+ function csrf_ignore(string $method): bool {
return false;
}