File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
app/code/Magento/Checkout/Model/Cart/Access Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ public function __construct(UserContextInterface $userContext)
38
38
* @param \Magento\Quote\Api\CartManagementInterface $subject
39
39
* @param int $cartId
40
40
* @param int $customerId
41
+ * @param int $storeId
41
42
*
42
43
* @return void
43
44
* @throws AuthorizationException if access denied
@@ -46,7 +47,8 @@ public function __construct(UserContextInterface $userContext)
46
47
public function beforeAssignCustomer (
47
48
\Magento \Quote \Api \CartManagementInterface $ subject ,
48
49
$ cartId ,
49
- $ customerId
50
+ $ customerId ,
51
+ $ storeId
50
52
) {
51
53
if (!in_array ($ this ->userContext ->getUserType (), $ this ->allowedUserTypes )) {
52
54
throw new AuthorizationException ('Access denied ' );
You can’t perform that action at this time.
0 commit comments