File tree 1 file changed +6
-11
lines changed
app/code/Magento/Catalog/Api
1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change 6
6
7
7
namespace Magento \Catalog \Api ;
8
8
9
- use Magento \Catalog \Api \Data \ProductLinkInterface ;
10
- use Magento \Framework \Exception \NoSuchEntityException ;
11
- use Magento \Framework \Exception \CouldNotSaveException ;
12
- use Magento \Framework \Exception \InputException ;
13
-
14
9
/**
15
10
* @api
16
11
* @since 100.0.2
@@ -22,19 +17,19 @@ interface ProductLinkManagementInterface
22
17
*
23
18
* @param string $sku
24
19
* @param string $type
25
- * @throws NoSuchEntityException
26
- * @return ProductLinkInterface[]
20
+ * @throws \Magento\Framework\Exception\ NoSuchEntityException
21
+ * @return \Magento\Catalog\Api\Data\ ProductLinkInterface[]
27
22
*/
28
23
public function getLinkedItemsByType ($ sku , $ type );
29
24
30
25
/**
31
26
* Assign a product link to another product
32
27
*
33
28
* @param string $sku
34
- * @param ProductLinkInterface[] $items
35
- * @throws NoSuchEntityException
36
- * @throws CouldNotSaveException
37
- * @throws InputException
29
+ * @param \Magento\Catalog\Api\Data\ ProductLinkInterface[] $items
30
+ * @throws \Magento\Framework\Exception\ NoSuchEntityException
31
+ * @throws \Magento\Framework\Exception\ CouldNotSaveException
32
+ * @throws \Magento\Framework\Exception\ InputException
38
33
* @return bool
39
34
*/
40
35
public function setProductLinks ($ sku , array $ items );
You can’t perform that action at this time.
0 commit comments