This commit is contained in:
2021-09-18 11:21:45 +08:00
parent 7beef23040
commit 1e2770a94a
+1 -1
View File
@@ -64,7 +64,7 @@ abstract class Handler implements RequestHandlerInterface
$controller = Kiri::getDi()->get($controller);
$response = call_user_func([$controller, $action], ...$this->handler->params);
if (!$response instanceof ResponseInterface) {
if (!($response instanceof ResponseInterface)) {
$response = $this->transferToResponse($response);
}
return $response;