Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit c0d696e

Browse files
Freek VandeursenFreek Vandeursen
Freek Vandeursen
authored and
Freek Vandeursen
committed
Fix too long variable name
1 parent ed01a4a commit c0d696e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/CatalogImportExport/Model/Import/Product/Type/AbstractType.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ abstract class AbstractType
3333
*
3434
* @var array
3535
*/
36-
public static $invisibleAttributesCache = [];
36+
public static $invAttributesCache = [];
3737

3838
/**
3939
* Attribute Code to Id cache
@@ -288,7 +288,7 @@ protected function _initAttributes()
288288
$unknownAttributeIds = array_diff(
289289
$attributeIds,
290290
array_keys(self::$commonAttributesCache),
291-
self::$invisibleAttributesCache
291+
self::$invAttributesCache
292292
);
293293
if ($unknownAttributeIds) {
294294
$this->attachAttributesById($attributeSetName, $attributeIds);
@@ -352,7 +352,7 @@ protected function attachAttributesById($attributeSetName, $attributeIds)
352352
$attribute
353353
);
354354
} else {
355-
self::$invisibleAttributesCache[] = $attributeId;
355+
self::$invAttributesCache[] = $attributeId;
356356
}
357357
}
358358
}

0 commit comments

Comments
 (0)