From fb5f494907b76b0d87be6b76bd26deae674b86e9 Mon Sep 17 00:00:00 2001 From: ckshen8 <135258212+ckshen8@users.noreply.github.com> Date: Wed, 4 Dec 2024 17:59:08 -0800 Subject: [PATCH] PHP compatibility issue. see https://github.com/taxjar/taxjar-magento2-extension/issues/366 --- Model/Import/Rate.php | 5 +++++ Model/Transaction.php | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/Model/Import/Rate.php b/Model/Import/Rate.php index b221dfd1..87a1bee5 100644 --- a/Model/Import/Rate.php +++ b/Model/Import/Rate.php @@ -72,6 +72,11 @@ class Rate * @var \Magento\Tax\Model\Calculation\Rule */ protected $rule; + + /** + * Array + */ + protected $apikey; /** * @param CacheInterface $cache diff --git a/Model/Transaction.php b/Model/Transaction.php index 57e91908..77953c00 100644 --- a/Model/Transaction.php +++ b/Model/Transaction.php @@ -76,6 +76,11 @@ class Transaction protected $taxjarConfig; /** + * Array + */ + protected $_calculationFactory; + +/** * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig * @param \Taxjar\SalesTax\Model\ClientFactory $clientFactory * @param \Magento\Catalog\Model\ProductRepository $productRepository