diff options
| author | wn_ <invalid@email.com> | 2021-11-12 02:01:31 +0000 |
|---|---|---|
| committer | wn_ <invalid@email.com> | 2021-11-12 02:01:31 +0000 |
| commit | 5606e38bff619c388c9621dde30f0d54127a21f4 (patch) | |
| tree | 1841d1057ac1b05df9b8854696042ecae1124056 /classes/feeds.php | |
| parent | 57bf56f7945b639d0e39f4c7ad9da161a4a18888 (diff) | |
Update signature of handler 'csrf_ignore' to include types.
Diffstat (limited to 'classes/feeds.php')
| -rwxr-xr-x | classes/feeds.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/feeds.php b/classes/feeds.php index c9f47463f..951675adb 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -8,7 +8,7 @@ class Feeds extends Handler_Protected { private $viewfeed_timestamp; private $viewfeed_timestamp_last; - function csrf_ignore($method) { + function csrf_ignore(string $method): bool { $csrf_ignored = array("index"); return array_search($method, $csrf_ignored) !== false; |