From 77135cfb8e690874f248ec87749f866ec90a8bbd Mon Sep 17 00:00:00 2001 From: Lukasz Bajsarowicz Date: Sat, 15 Aug 2020 23:47:58 +0200 Subject: [PATCH] Fis Static Tests --- app/code/Magento/Catalog/Model/CategoryLink.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/code/Magento/Catalog/Model/CategoryLink.php b/app/code/Magento/Catalog/Model/CategoryLink.php index 76e7a8158af42..fd56a3516b130 100644 --- a/app/code/Magento/Catalog/Model/CategoryLink.php +++ b/app/code/Magento/Catalog/Model/CategoryLink.php @@ -24,7 +24,7 @@ class CategoryLink extends AbstractExtensibleModel implements CategoryLinkInterf */ public function getPosition() { - return $this->_get(self::KEY_POSITION); + return $this->getData(self::KEY_POSITION); } /** @@ -32,10 +32,12 @@ public function getPosition() */ public function getCategoryId() { - return $this->_get(self::KEY_CATEGORY_ID); + return $this->getData(self::KEY_CATEGORY_ID); } /** + * {@inheritDoc} + * * @param int $position * @return $this */ @@ -56,7 +58,7 @@ public function setCategoryId($categoryId) } /** - * @inheritdoc + * {@inheritdoc} * * @return \Magento\Catalog\Api\Data\CategoryLinkExtensionInterface|null */ @@ -66,7 +68,7 @@ public function getExtensionAttributes() } /** - * @inheritdoc + * {@inheritdoc} * * @param \Magento\Catalog\Api\Data\CategoryLinkExtensionInterface $extensionAttributes * @return $this