summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorwn_ <[email protected]>2021-11-12 04:53:53 +0000
committerwn_ <[email protected]>2021-11-12 04:53:53 +0000
commitf0ad5881c0da9602195c4ad15a4c576d5ff54d91 (patch)
tree5a0ff4cabb5954749c26491fc55ec7118f04209e /backend.php
parent734be4ebd1dd7732d413bb69df33ac4e33460a5e (diff)
PHPStan warning fix in 'backend.php'.
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index cb7daadad..59f3982c5 100644
--- a/backend.php
+++ b/backend.php
@@ -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)) {