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

PHPStan warning fix in 'backend.php'.

This commit is contained in:
wn_
2021-11-12 04:53:53 +00:00
parent 734be4ebd1
commit f0ad5881c0

View File

@@ -124,7 +124,7 @@
$handler = $reflection->newInstanceWithoutConstructor();
}
if ($handler && implements_interface($handler, 'IHandler')) {
if (implements_interface($handler, 'IHandler')) {
$handler->__construct($_REQUEST);
if (validate_csrf($csrf_token) || $handler->csrf_ignore($method)) {