1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 11:05:55 +00:00

Update signature of handler 'csrf_ignore' to include types.

This commit is contained in:
wn_
2021-11-12 02:01:31 +00:00
parent 57bf56f794
commit 5606e38bff
12 changed files with 12 additions and 12 deletions

View File

@@ -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;