From 91563a41022c827bd8671c145315e964efd2b4b9 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 23 Apr 2023 16:59:17 +1000 Subject: [PATCH] Fixes for taxes --- app/DataMapper/Tax/BaseRule.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/DataMapper/Tax/BaseRule.php b/app/DataMapper/Tax/BaseRule.php index 34c32268a4..1c154e6035 100644 --- a/app/DataMapper/Tax/BaseRule.php +++ b/app/DataMapper/Tax/BaseRule.php @@ -118,7 +118,7 @@ class BaseRule implements RuleInterface protected ?Response $tax_data; - public ?Invoice $invoice; + public mixed $invoice; public function __construct() { @@ -129,7 +129,7 @@ class BaseRule implements RuleInterface return $this; } - public function setInvoice(Invoice $invoice): self + public function setInvoice(mixed $invoice): self { $this->invoice = $invoice;