diff --git a/Response.php b/Response.php index dca93df61..ef6ece002 100644 --- a/Response.php +++ b/Response.php @@ -331,7 +331,7 @@ public function prepare(Request $request): static /** * Sends HTTP headers. * - * @param null|positive-int $statusCode The status code to use, override the statusCode property if set and not null + * @param positive-int|null $statusCode The status code to use, override the statusCode property if set and not null * * @return $this */ diff --git a/StreamedResponse.php b/StreamedResponse.php index 43a8dad54..87be96a11 100644 --- a/StreamedResponse.php +++ b/StreamedResponse.php @@ -68,7 +68,7 @@ public function getCallback(): ?\Closure /** * This method only sends the headers once. * - * @param null|positive-int $statusCode The status code to use, override the statusCode property if set and not null + * @param positive-int|null $statusCode The status code to use, override the statusCode property if set and not null * * @return $this */