Skip to content

Commit fce2445

Browse files
p-bystritskyamol2jcommerce
authored andcommitted
magento#21083: Static test fix.
1 parent 1b7a2e0 commit fce2445

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

app/code/Magento/ConfigurableProduct/Model/LinkManagement.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
/**
1313
* Configurable product link management.
14+
*
15+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1416
*/
1517
class LinkManagement implements \Magento\ConfigurableProduct\Api\LinkManagementInterface
1618
{
@@ -109,6 +111,10 @@ public function getChildren($sku)
109111

110112
/**
111113
* @inheritdoc
114+
* @throws InputException
115+
* @throws NoSuchEntityException
116+
* @throws StateException
117+
* @throws \Magento\Framework\Exception\CouldNotSaveException
112118
*/
113119
public function addChild($sku, $childSku)
114120
{
@@ -147,6 +153,10 @@ public function addChild($sku, $childSku)
147153

148154
/**
149155
* @inheritdoc
156+
* @throws InputException
157+
* @throws NoSuchEntityException
158+
* @throws StateException
159+
* @throws \Magento\Framework\Exception\CouldNotSaveException
150160
*/
151161
public function removeChild($sku, $childSku)
152162
{

0 commit comments

Comments
 (0)