@@ -41,11 +41,6 @@ class ProductTotals extends \Magento\Backend\App\Action implements HttpPostActio
41
41
*/
42
42
private $ conditionsHelper ;
43
43
44
- /**
45
- * @var \Magento\Catalog\Api\\CategoryRepositoryInterface
46
- */
47
- private $ categoryRepository ;
48
-
49
44
/**
50
45
* @var \Magento\Framework\Controller\Result\JsonFactory
51
46
*/
@@ -64,7 +59,6 @@ class ProductTotals extends \Magento\Backend\App\Action implements HttpPostActio
64
59
* @param \Magento\Rule\Model\Condition\Sql\Builder $sqlBuilder
65
60
* @param \Magento\CatalogWidget\Model\Rule $rule
66
61
* @param \Magento\Widget\Helper\Conditions $conditionsHelper
67
- * @param \Magento\Catalog\Api\CategoryRepositoryInterface $categoryRepository
68
62
* @param \Magento\Framework\Controller\Result\JsonFactory $jsonFactory
69
63
* @param \Magento\CatalogInventory\Helper\Stock $stockFilter
70
64
*/
@@ -74,15 +68,13 @@ public function __construct(
74
68
\Magento \Rule \Model \Condition \Sql \Builder $ sqlBuilder ,
75
69
\Magento \CatalogWidget \Model \Rule $ rule ,
76
70
\Magento \Widget \Helper \Conditions $ conditionsHelper ,
77
- \Magento \Catalog \Api \CategoryRepositoryInterface $ categoryRepository ,
78
71
\Magento \Framework \Controller \Result \JsonFactory $ jsonFactory ,
79
72
\Magento \CatalogInventory \Helper \Stock $ stockFilter
80
73
) {
81
74
$ this ->productCollectionFactory = $ productCollectionFactory ;
82
75
$ this ->sqlBuilder = $ sqlBuilder ;
83
76
$ this ->rule = $ rule ;
84
77
$ this ->conditionsHelper = $ conditionsHelper ;
85
- $ this ->categoryRepository = $ categoryRepository ;
86
78
$ this ->jsonFactory = $ jsonFactory ;
87
79
$ this ->stockFilter = $ stockFilter ;
88
80
parent ::__construct ($ context );
0 commit comments