This commit is contained in:
2023-10-17 16:55:34 +08:00
parent b4d06798c4
commit 3f638162e8
+1 -2
View File
@@ -98,8 +98,7 @@ class Handler implements RequestHandlerInterface
public function handle(ServerRequestInterface $request): ResponseInterface
{
$data = call_user_func($this->handler, ...$this->parameter);
return call_user_func([$this->format, 'call'], $data);
return $this->format->call($data);
}
}