From b4c9caa4c733fdabdc8fe48c91efbff5bf13d16b Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 28 Aug 2024 12:48:08 +1000 Subject: [PATCH] Minor fixes --- app/Services/EDocument/Gateway/Storecove/StorecoveRouter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/EDocument/Gateway/Storecove/StorecoveRouter.php b/app/Services/EDocument/Gateway/Storecove/StorecoveRouter.php index 1ef8427c1d4b..c40bbb8aca44 100644 --- a/app/Services/EDocument/Gateway/Storecove/StorecoveRouter.php +++ b/app/Services/EDocument/Gateway/Storecove/StorecoveRouter.php @@ -130,10 +130,10 @@ class StorecoveRouter * resolveTaxScheme * * @param string $country - * @param string $classification + * @param ?string $classification * @return string */ - public function resolveTaxScheme(string $country, string $classification): string + public function resolveTaxScheme(string $country, ?string $classification): string { $rules = isset($this->routing_rules[$country]) ? $this->routing_rules[$country] : [false, false, false, false];