Skip to content

Commit 77e7161

Browse files
committed
ACP2E-1117: CustomerAddressId not set for new billing address
1 parent d7e0efd commit 77e7161

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/code/Magento/Checkout/Model/AddressMapper.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class AddressMapper implements AddressMapperInterface
4040
* @param QuoteIdMaskFactory $quoteIdMaskFactory
4141
*/
4242
public function __construct(
43-
CartRepositoryInterface $cartRepository,
43+
CartRepositoryInterface $cartRepository,
4444
AddressRepositoryInterface $addressRepository,
4545
QuoteIdMaskFactory $quoteIdMaskFactory
4646
) {
@@ -98,8 +98,8 @@ public function customerCheckoutAddressMapper(
9898
* @inheritDoc
9999
*/
100100
public function guestCheckoutAddressMapper(
101-
int|string $cartId,
102-
string $email,
101+
$cartId,
102+
string $email,
103103
PaymentInterface $paymentMethod,
104104
AddressInterface $billingAddress = null
105105
): void {

app/code/Magento/Checkout/Model/AddressMapperInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ public function customerCheckoutAddressMapper(
2929
/**
3030
* Process guest address information for same as billing
3131
*
32-
* @param int|string $cartId
32+
* @param string $cartId
3333
* @param string $email
3434
* @param PaymentInterface $paymentMethod
3535
* @param AddressInterface|null $billingAddress
3636
* @return void
3737
*/
3838
public function guestCheckoutAddressMapper(
39-
int|string $cartId,
39+
$cartId,
4040
string $email,
4141
PaymentInterface $paymentMethod,
4242
AddressInterface $billingAddress = null

0 commit comments

Comments
 (0)