From e25ffade9e314554ebe3a361132b929f7019957e Mon Sep 17 00:00:00 2001 From: robsoned Date: Thu, 6 Jun 2024 19:32:28 +0000 Subject: [PATCH] Fix creation of dynamic property --- Plugin/ModuleStatus.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Plugin/ModuleStatus.php b/Plugin/ModuleStatus.php index 74c8942..6c00eac 100755 --- a/Plugin/ModuleStatus.php +++ b/Plugin/ModuleStatus.php @@ -15,6 +15,7 @@ use Magento\Config\Model\ResourceModel\Config as ConfigResource; use Elgentos\InventoryLog\Helper\Data as StockMovementHelper; +use Magento\Store\Model\StoreManagerInterface; class ModuleStatus { @@ -23,6 +24,12 @@ class ModuleStatus */ public $configResource; + + /** + * @var \Magento\Store\Model\StoreManagerInterface + */ + private StoreManagerInterface $_storeManager; + const EXTENSION_NAME = 'Elgentos_InventoryLog'; /**