Skip to content

Commit 2c4db93

Browse files
author
Stanislav Idolov
committed
MAGETWO-68845: Universal Analytics doesn't work when Cookie Restriction is enabled
1 parent 389bd21 commit 2c4db93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Quote/Api/CartManagementInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ interface CartManagementInterface
2727
public function createEmptyCart();
2828

2929
/**
30-
* Creates an empty cart and quote for a specified customer.
30+
* Creates an empty cart and quote for a specified customer if customer does not have a cart yet.
3131
*
3232
* @param int $customerId The customer ID.
33-
* @return int Cart ID.
33+
* @return int new cart ID if customer did not have a cart or ID of the existing cart otherwise.
3434
* @throws \Magento\Framework\Exception\CouldNotSaveException The empty cart and quote could not be created.
3535
*/
3636
public function createEmptyCartForCustomer($customerId);

0 commit comments

Comments
 (0)