File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Checkout/Controller/Cart Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 15
15
use Magento \Framework \Controller \ResultInterface ;
16
16
use Magento \Framework \Exception \NoSuchEntityException ;
17
17
use Magento \Framework \Filter \LocalizedToNormalized ;
18
- use Magento \Store \Model \StoreManagerInterface ;
19
18
20
19
/**
21
20
* Controller for processing add to cart action.
@@ -53,7 +52,7 @@ public function __construct(
53
52
\Magento \Framework \Data \Form \FormKey \Validator $ formKeyValidator ,
54
53
CustomerCart $ cart ,
55
54
ProductRepositoryInterface $ productRepository ,
56
- ?RequestQuantityProcessor $ quantityProcessor = null ,
55
+ ?RequestQuantityProcessor $ quantityProcessor = null
57
56
) {
58
57
parent ::__construct (
59
58
$ context ,
@@ -72,6 +71,7 @@ public function __construct(
72
71
* Initialize product instance from request data
73
72
*
74
73
* @return \Magento\Catalog\Model\Product|false
74
+ * @throws NoSuchEntityException
75
75
*/
76
76
protected function _initProduct ()
77
77
{
You can’t perform that action at this time.
0 commit comments