diff --git a/src/mako/http/Response.php b/src/mako/http/Response.php index b7795e542..fe246444f 100644 --- a/src/mako/http/Response.php +++ b/src/mako/http/Response.php @@ -99,7 +99,7 @@ public function getRequest(): Request /** * Sets the response body. */ - public function setBody(ResponseBuilderInterface|ResponseSenderInterface|string|Stringable $body): Response + public function setBody(null|float|int|ResponseBuilderInterface|ResponseSenderInterface|string|Stringable $body): Response { $this->body = $body;