File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
dev/tests/integration/testsuite/Magento/Quote/Model Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -377,6 +377,7 @@ class AccountManagement implements AccountManagementInterface
377
377
* @param CollectionFactory|null $visitorCollectionFactory
378
378
* @param SearchCriteriaBuilder|null $searchCriteriaBuilder
379
379
* @param AddressRegistry|null $addressRegistry
380
+ * @param AllowedCountries|null $allowedCountriesReader
380
381
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
381
382
* @SuppressWarnings(PHPMD.NPathComplexity)
382
383
*/
Original file line number Diff line number Diff line change @@ -408,6 +408,7 @@ class Quote extends AbstractExtensibleModel implements \Magento\Quote\Api\Data\C
408
408
* @param \Magento\Framework\Data\Collection\AbstractDb|null $resourceCollection
409
409
* @param array $data
410
410
* @param \Magento\Sales\Model\OrderIncrementIdChecker|null $orderIncrementIdChecker
411
+ * @param AllowedCountries|null $allowedCountriesReader
411
412
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
412
413
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
413
414
*/
@@ -953,7 +954,8 @@ public function assignCustomerWithAddressChange(
953
954
/** @var \Magento\Quote\Model\Quote\Address $billingAddress */
954
955
$ billingAddress = $ this ->_quoteAddressFactory ->create ();
955
956
$ billingAddress ->importCustomerAddressData ($ defaultBillingAddress );
956
- if ($ this ->isAddressAllowedForWebsite ($ billingAddress , (int )$ this ->getStoreId ())) {
957
+
958
+ if ($ this ->isAddressAllowedForWebsite ($ billingAddress , (int )$ this ->getStoreId ())) {
957
959
$ this ->setBillingAddress ($ billingAddress );
958
960
}
959
961
}
Original file line number Diff line number Diff line change 22
22
use Magento \Framework \App \Config \ConfigResource \ConfigInterface ;
23
23
use Magento \Framework \App \Config \ReinitableConfigInterface ;
24
24
use Magento \Store \Model \StoreManagerInterface ;
25
+
25
26
/**
26
27
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
27
28
*/
You can’t perform that action at this time.
0 commit comments