Skip to content

Commit 5a5b406

Browse files
author
Oleksandr Gorkun
committed
MC-13958: Additional Permissions for Design settings
1 parent 9e9262d commit 5a5b406

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

app/code/Magento/Catalog/Model/CategoryRepository.php

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
use Magento\Catalog\Api\Data\CategoryInterface;
1414

1515
/**
16+
* Repository for categories.
17+
*
1618
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1719
*/
1820
class CategoryRepository implements \Magento\Catalog\Api\CategoryRepositoryInterface
@@ -70,7 +72,7 @@ public function __construct(
7072
}
7173

7274
/**
73-
* {@inheritdoc}
75+
* @inheritdoc
7476
*/
7577
public function save(\Magento\Catalog\Api\Data\CategoryInterface $category)
7678
{
@@ -128,7 +130,7 @@ public function save(\Magento\Catalog\Api\Data\CategoryInterface $category)
128130
}
129131

130132
/**
131-
* {@inheritdoc}
133+
* @inheritdoc
132134
*/
133135
public function get($categoryId, $storeId = null)
134136
{
@@ -149,7 +151,7 @@ public function get($categoryId, $storeId = null)
149151
}
150152

151153
/**
152-
* {@inheritdoc}
154+
* @inheritdoc
153155
*/
154156
public function delete(\Magento\Catalog\Api\Data\CategoryInterface $category)
155157
{
@@ -170,7 +172,7 @@ public function delete(\Magento\Catalog\Api\Data\CategoryInterface $category)
170172
}
171173

172174
/**
173-
* {@inheritdoc}
175+
* @inheritdoc
174176
*/
175177
public function deleteByIdentifier($categoryId)
176178
{
@@ -211,6 +213,8 @@ protected function validateCategory(Category $category)
211213
}
212214

213215
/**
216+
* Lazy loader for the converter.
217+
*
214218
* @return \Magento\Framework\Api\ExtensibleDataObjectConverter
215219
*
216220
* @deprecated 101.0.0
@@ -225,6 +229,8 @@ private function getExtensibleDataObjectConverter()
225229
}
226230

227231
/**
232+
* Lazy loader for the metadata pool.
233+
*
228234
* @return \Magento\Framework\EntityManager\MetadataPool
229235
*/
230236
private function getMetadataPool()

app/code/Magento/Catalog/Model/Product.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,7 @@ public function getFormattedPrice()
12021202
/**
12031203
* Get formatted by currency product price
12041204
*
1205-
* @return array|double
1205+
* @return array|double
12061206
*
12071207
* @deprecated
12081208
* @see getFormattedPrice()
@@ -1853,7 +1853,7 @@ public function formatUrlKey($str)
18531853
/**
18541854
* Save current attribute with code $code and assign new value
18551855
*
1856-
* @param string $code Attribute code
1856+
* @param string $code Attribute code
18571857
* @param mixed $value New attribute value
18581858
* @param int $store Store ID
18591859
* @return void

app/code/Magento/Catalog/Model/ResourceModel/Product.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ protected function evaluateDelete($object, $id, $connection)
670670
/**
671671
* Save entity's attributes into the object's resource
672672
*
673-
* @param \Magento\Framework\Model\AbstractModel $object
673+
* @param \Magento\Framework\Model\AbstractModel $object
674674
* @return $this
675675
* @throws \Exception
676676
* @since 101.0.0

0 commit comments

Comments
 (0)