From f902d99a8fe2a7283e99531fc794d2e4509d173c Mon Sep 17 00:00:00 2001 From: Robin de Graaf Date: Sat, 1 Feb 2025 09:29:17 +0100 Subject: [PATCH] Fix implicit type def in Response constructor --- src/Response.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Response.php b/src/Response.php index 926fd58..74e4efd 100644 --- a/src/Response.php +++ b/src/Response.php @@ -15,7 +15,7 @@ class Response public function __construct( int $statusCode = 200, - string $body = null, + ?string $body = null, string $contentType = 'text/html', array $headers = [], string $protocol = 'HTTP/1.1'