Skip to content

Commit 690f2de

Browse files
author
Robert He
committed
MAGETWO-33109 : Refactor code that uses customer builders in Quote module
-- changes from code review
1 parent 48c72d2 commit 690f2de

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/code/Magento/Quote/Model/Quote.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -910,8 +910,7 @@ public function addCustomerAddress(\Magento\Customer\Api\Data\AddressInterface $
910910
*/
911911
public function updateCustomerData(\Magento\Customer\Api\Data\CustomerInterface $customer)
912912
{
913-
$customer = $this->customerDataFactory->mergeDataObjects(get_class($this->getCustomer()),
914-
$this->getCustomer(), $customer);
913+
$this->customerDataFactory->mergeDataObjects(get_class($this->getCustomer()), $this->getCustomer(), $customer);
915914
$this->setCustomer($customer);
916915
return $this;
917916
}

0 commit comments

Comments
 (0)