PHPStan warning fix in 'backend.php'.
This commit is contained in:
parent
734be4ebd1
commit
f0ad5881c0
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in New Issue