Skip to content

Commit

Permalink
Merge pull request #348 from tienvx/default-response-status
Browse files Browse the repository at this point in the history
fix: Fix fatal error when reponse's status is not set
  • Loading branch information
YOU54F committed Oct 27, 2023
2 parents a6f616c + d6fd5a2 commit b68558d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpPact/Consumer/Model/Interaction/StatusTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

trait StatusTrait
{
private int $status;
private int $status = 200;

public function getStatus(): int
{
Expand Down

0 comments on commit b68558d

Please sign in to comment.