mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:45:55 +00:00
Update signature of handler 'csrf_ignore' to include types.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
class RPC extends Handler_Protected {
|
||||
|
||||
/*function csrf_ignore($method) {
|
||||
/*function csrf_ignore(string $method): bool {
|
||||
$csrf_ignored = array("completelabels");
|
||||
|
||||
return array_search($method, $csrf_ignored) !== false;
|
||||
|
||||
Reference in New Issue
Block a user