PHPStan warning fix in 'backend.php'.

This commit is contained in:
wn_ 2021-11-12 04:53:53 +00:00
parent 734be4ebd1
commit f0ad5881c0
1 changed files with 1 additions and 1 deletions

View File

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