改名
This commit is contained in:
@@ -64,7 +64,7 @@ abstract class Handler implements RequestHandlerInterface
|
|||||||
$controller = Kiri::getDi()->get($controller);
|
$controller = Kiri::getDi()->get($controller);
|
||||||
|
|
||||||
$response = call_user_func([$controller, $action], ...$this->handler->params);
|
$response = call_user_func([$controller, $action], ...$this->handler->params);
|
||||||
if (!$response instanceof ResponseInterface) {
|
if (!($response instanceof ResponseInterface)) {
|
||||||
$response = $this->transferToResponse($response);
|
$response = $this->transferToResponse($response);
|
||||||
}
|
}
|
||||||
return $response;
|
return $response;
|
||||||
|
|||||||
Reference in New Issue
Block a user