fix tests

This commit is contained in:
Dennis Eichhorn 2023-09-25 15:14:05 +00:00
parent 0727afe7fc
commit 85044c22ac

View File

@ -126,7 +126,7 @@ class BillElement implements \JsonSerializable
*/ */
public int $promotion = 0; public int $promotion = 0;
public int | Bill $bill = 0; public Bill $bill;
/** /**
* Constructor. * Constructor.
@ -135,6 +135,8 @@ class BillElement implements \JsonSerializable
*/ */
public function __construct() public function __construct()
{ {
$this->bill = new NullBill();
$this->singleListPriceNet = new FloatInt(); $this->singleListPriceNet = new FloatInt();
$this->singleListPriceGross = new FloatInt(); $this->singleListPriceGross = new FloatInt();