From 85044c22acb5a72611e87495c764bf3badaf5140 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 25 Sep 2023 15:14:05 +0000 Subject: [PATCH] fix tests --- Models/BillElement.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Models/BillElement.php b/Models/BillElement.php index cedd4fa..18e550a 100755 --- a/Models/BillElement.php +++ b/Models/BillElement.php @@ -126,7 +126,7 @@ class BillElement implements \JsonSerializable */ public int $promotion = 0; - public int | Bill $bill = 0; + public Bill $bill; /** * Constructor. @@ -135,6 +135,8 @@ class BillElement implements \JsonSerializable */ public function __construct() { + $this->bill = new NullBill(); + $this->singleListPriceNet = new FloatInt(); $this->singleListPriceGross = new FloatInt();