From d6fd5a2bb7ca4f80c023583d4192e9d3aa55b532 Mon Sep 17 00:00:00 2001 From: "tien.xuan.vo" Date: Sun, 22 Oct 2023 13:39:18 +0700 Subject: [PATCH] fix: Fix fatal error when reponse's status is not set --- src/PhpPact/Consumer/Model/Interaction/StatusTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpPact/Consumer/Model/Interaction/StatusTrait.php b/src/PhpPact/Consumer/Model/Interaction/StatusTrait.php index 31e68f4b..28514806 100644 --- a/src/PhpPact/Consumer/Model/Interaction/StatusTrait.php +++ b/src/PhpPact/Consumer/Model/Interaction/StatusTrait.php @@ -4,7 +4,7 @@ trait StatusTrait { - private int $status; + private int $status = 200; public function getStatus(): int {