Skip to content

Commit

Permalink
Fis Static Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lbajsarowicz committed Aug 15, 2020
1 parent 987b162 commit 77135cf
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app/code/Magento/Catalog/Model/CategoryLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,20 @@ class CategoryLink extends AbstractExtensibleModel implements CategoryLinkInterf
*/
public function getPosition()
{
return $this->_get(self::KEY_POSITION);
return $this->getData(self::KEY_POSITION);
}

/**
* @inheritdoc
*/
public function getCategoryId()
{
return $this->_get(self::KEY_CATEGORY_ID);
return $this->getData(self::KEY_CATEGORY_ID);
}

/**
* {@inheritDoc}
*
* @param int $position
* @return $this
*/
Expand All @@ -56,7 +58,7 @@ public function setCategoryId($categoryId)
}

/**
* @inheritdoc
* {@inheritdoc}
*
* @return \Magento\Catalog\Api\Data\CategoryLinkExtensionInterface|null
*/
Expand All @@ -66,7 +68,7 @@ public function getExtensionAttributes()
}

/**
* @inheritdoc
* {@inheritdoc}
*
* @param \Magento\Catalog\Api\Data\CategoryLinkExtensionInterface $extensionAttributes
* @return $this
Expand Down

0 comments on commit 77135cf

Please sign in to comment.