diff --git a/app/DataMapper/Tax/BaseRule.php b/app/DataMapper/Tax/BaseRule.php index 34c32268a4fe..1c154e6035d1 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;