From 5be41daf92b6f7d2e6ddacc47a9042b6afb072b6 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 12 Jan 2021 12:19:31 +0000 Subject: [PATCH] use proxy class --- Command/TestCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command/TestCommand.php b/Command/TestCommand.php index 223ad9e..04c88b9 100644 --- a/Command/TestCommand.php +++ b/Command/TestCommand.php @@ -16,7 +16,7 @@ class TestCommand extends Command{ \Magento\Catalog\Model\ProductRepository $productRepository, \Magento\Framework\ObjectManagerInterface $objectManager, \Magento\Framework\App\State $state, - \Magento\Catalog\Model\ResourceModel\Product\Action $productAction + \Magento\Catalog\Model\ResourceModel\Product\Action\Proxy $productAction ) { $this->_state=$state; $this->_objectManager=$objectManager;