mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-04 00:09:14 +00:00
Update signature of handler 'csrf_ignore' to include types.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
class Pref_Users extends Handler_Administrative {
|
||||
function csrf_ignore($method) {
|
||||
function csrf_ignore(string $method): bool {
|
||||
return $method == "index";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user