Skip to content

Commit 6999807

Browse files
author
Olexii Korshenko
committed
MAGETWO-32775: Prepare pull request for Checkout related modules MSC
- fixed integrity tests
1 parent a1bbcdb commit 6999807

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Checkout/Model/Cart/Access/CartManagementPlugin.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public function __construct(UserContextInterface $userContext)
3838
* @param \Magento\Quote\Api\CartManagementInterface $subject
3939
* @param int $cartId
4040
* @param int $customerId
41+
* @param int $storeId
4142
*
4243
* @return void
4344
* @throws AuthorizationException if access denied
@@ -46,7 +47,8 @@ public function __construct(UserContextInterface $userContext)
4647
public function beforeAssignCustomer(
4748
\Magento\Quote\Api\CartManagementInterface $subject,
4849
$cartId,
49-
$customerId
50+
$customerId,
51+
$storeId
5052
) {
5153
if (!in_array($this->userContext->getUserType(), $this->allowedUserTypes)) {
5254
throw new AuthorizationException('Access denied');

0 commit comments

Comments
 (0)