Skip to content

Commit c78535d

Browse files
committed
#21083: Static test fix.
1 parent ac98b1f commit c78535d

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
@@ -12,6 +12,8 @@
1212

1313
/**
1414
* Configurable product link management.
15+
*
16+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1517
*/
1618
class LinkManagement implements \Magento\ConfigurableProduct\Api\LinkManagementInterface
1719
{
@@ -110,6 +112,10 @@ public function getChildren($sku)
110112

111113
/**
112114
* @inheritdoc
115+
* @throws InputException
116+
* @throws NoSuchEntityException
117+
* @throws StateException
118+
* @throws \Magento\Framework\Exception\CouldNotSaveException
113119
*/
114120
public function addChild($sku, $childSku)
115121
{
@@ -153,6 +159,10 @@ public function addChild($sku, $childSku)
153159

154160
/**
155161
* @inheritdoc
162+
* @throws InputException
163+
* @throws NoSuchEntityException
164+
* @throws StateException
165+
* @throws \Magento\Framework\Exception\CouldNotSaveException
156166
*/
157167
public function removeChild($sku, $childSku)
158168
{

0 commit comments

Comments
 (0)