From ccfadc1a6ef5453197666ec3fa79833648cdb937 Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Sun, 21 Apr 2024 10:46:20 -0500 Subject: [PATCH] Fix implicit nullable parameters --- src/Response.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Response.php b/src/Response.php index 39d68cc5..d50e8d92 100644 --- a/src/Response.php +++ b/src/Response.php @@ -184,7 +184,7 @@ public function removeHeader(string $name): void * * @param int $status 100 - 599 */ - public function setStatus(int $status, string $reason = null): void + public function setStatus(int $status, ?string $reason = null): void { parent::setStatus($this->validateStatusCode($status), $reason);