Skip to content

Commit 80dd206

Browse files
committed
MC-16108: EAV attribute is not cached
- Fix SVC;
1 parent 29bd149 commit 80dd206

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/code/Magento/Eav/Model/Entity/AbstractEntity.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ protected function _getConfig()
412412
*
413413
* @param string|int|Element $attribute
414414
* @return AbstractAttribute|false
415-
* @throws LocalizedException
416415
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
417416
*/
418417
public function getAttribute($attribute)

app/code/Magento/Eav/Model/Entity/Attribute/AbstractAttribute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ public function getAttributeCode()
331331
/**
332332
* Set attribute model class.
333333
*
334-
* @param string $data
334+
* @param array $data
335335
* @return $this
336336
* @codeCoverageIgnore
337337
*/

0 commit comments

Comments
 (0)