diff --git a/src/functions/AdapterFunctions.php b/src/functions/AdapterFunctions.php index a682e01..0a0328d 100644 --- a/src/functions/AdapterFunctions.php +++ b/src/functions/AdapterFunctions.php @@ -45,7 +45,7 @@ function header_remove(?string $name = null): void * * @link https://www.php.net/manual/en/function.http-response-code.php */ -function http_response_code(int $code = null): int +function http_response_code(?int $code = null): int { // int|bool return Http::responseCode($code); // Fix to return actual status when void }