We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf644f8 commit 9254238Copy full SHA for 9254238
app/code/Magento/Bundle/Model/OptionRepository.php
@@ -197,6 +197,7 @@ public function save(
197
*
198
* @param \Magento\Catalog\Api\Data\ProductInterface $product
199
* @param \Magento\Bundle\Api\Data\OptionInterface $option
200
+ * @return $this
201
*/
202
protected function updateOptionSelection(
203
\Magento\Catalog\Api\Data\ProductInterface $product,
@@ -232,7 +233,7 @@ protected function updateOptionSelection(
232
233
foreach ($linksToAdd as $linkedProduct) {
234
$this->linkManagement->addChild($product, $option->getOptionId(), $linkedProduct);
235
}
- return;
236
+ return $this;
237
238
239
/**
0 commit comments