File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
app/code/Magento/Quote/Model/Product/Plugin Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Quote \Model \Product \Plugin ;
7
7
8
+ use Magento \Catalog \Model \ResourceModel \Product as ProductResource ;
9
+
8
10
class RemoveQuoteItems
9
11
{
10
12
/**
@@ -21,15 +23,15 @@ public function __construct(\Magento\Quote\Model\Product\QuoteItemsCleanerInterf
21
23
}
22
24
23
25
/**
24
- * @param \Magento\Catalog\Model\ResourceModel\Product $subject
25
- * @param \Magento\Catalog\Model\ResourceModel\Product $result
26
+ * @param ProductResource $subject
27
+ * @param ProductResource $result
26
28
* @param \Magento\Catalog\Api\Data\ProductInterface $product
27
- * @return \Magento\Catalog\Model\ResourceModel\Product
29
+ * @return ProductResource
28
30
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
29
31
*/
30
32
public function afterDelete (
31
- \ Magento \ Catalog \ Model \ ResourceModel \ Product $ subject ,
32
- \ Magento \ Catalog \ Model \ ResourceModel \ Product $ result ,
33
+ ProductResource $ subject ,
34
+ ProductResource $ result ,
33
35
\Magento \Catalog \Api \Data \ProductInterface $ product
34
36
) {
35
37
$ this ->quoteItemsCleaner ->execute ($ product );
You can’t perform that action at this time.
0 commit comments