Skip to content

Commit e904de9

Browse files
authored
Merge pull request #2502 from vitaliyboykocontributor/1295-removed-array-type-from-entity-generator
1295: Exclude 'ARRAY' property type from the property list because it…
2 parents 5183af0 + ffdb06c commit e904de9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/magento/idea/magento2plugin/magento/packages/PropertiesTypes.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ public static List<String> getPropertyTypesList() {
8181
final List<String> propertyList = new LinkedList<>();
8282

8383
for (final PropertiesTypes property : PropertiesTypes.values()) {
84-
propertyList.add(property.getPropertyType());
84+
if (!property.getPropertyType().equals(ARRAY.getPropertyType())) {
85+
propertyList.add(property.getPropertyType());
86+
}
8587
}
8688

8789
return propertyList;

0 commit comments

Comments
 (0)