Skip to content

Commit 72733cb

Browse files
ENGCOM-3334: Added $_regionCollection property to class #140
- Merge Pull Request magento-engcom/import-export-improvements#140 from maxalmonte14/import-export-improvements:improvement/supress_undefined_property_error - Merged commits: 1. 9a7fa4c 2. d0c4c64 3. fab32c6
2 parents 77af5d6 + fab32c6 commit 72733cb

File tree

1 file changed

+9
-2
lines changed
  • app/code/Magento/CustomerImportExport/Model/Import

1 file changed

+9
-2
lines changed

app/code/Magento/CustomerImportExport/Model/Import/Address.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,13 @@ class Address extends AbstractCustomer
101101
*/
102102
protected $_entityTable;
103103

104+
/**
105+
* Region collection instance
106+
*
107+
* @var \Magento\Directory\Model\ResourceModel\Region\Collection
108+
*/
109+
private $_regionCollection;
110+
104111
/**
105112
* Countries and regions
106113
*
@@ -781,7 +788,7 @@ public static function getDefaultAddressAttributeMapping()
781788
}
782789

783790
/**
784-
* check if address for import is empty (for customer composite mode)
791+
* Check if address for import is empty (for customer composite mode)
785792
*
786793
* @param array $rowData
787794
* @return array
@@ -940,7 +947,7 @@ protected function _checkRowDuplicate($customerId, $addressId)
940947
}
941948

942949
/**
943-
* set customer attributes
950+
* Set customer attributes
944951
*
945952
* @param array $customerAttributes
946953
* @return $this

0 commit comments

Comments
 (0)