Skip to content

Commit 401ec19

Browse files
Merge pull request magento#32411 to magento#32425
2 parents 6d3cedd + 1832b9c commit 401ec19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,16 +260,16 @@ public function getQuote()
260260
}
261261

262262
/**
263-
* If current currency code of quote is not equal current currency code of store,
263+
* If current currency code of quote is not equal to current currency code of store,
264264
* need recalculate totals of quote. It is possible if customer use currency switcher or
265265
* store switcher.
266266
*/
267267
if ($quote->getQuoteCurrencyCode() != $this->_storeManager->getStore()->getCurrentCurrencyCode()) {
268268
$quote->setStore($this->_storeManager->getStore());
269269
$this->quoteRepository->save($quote->collectTotals());
270270
/*
271-
* We mast to create new quote object, because collectTotals()
272-
* can to create links with other objects.
271+
* We must to create new quote object, because collectTotals()
272+
* can create links with other objects.
273273
*/
274274
$quote = $this->quoteRepository->get($this->getQuoteId());
275275
}

0 commit comments

Comments
 (0)