Skip to content

Commit

Permalink
Fix implicit nullable parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Apr 21, 2024
1 parent e889d82 commit ccfadc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ccfadc1

Please sign in to comment.