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 1807f70 commit 9ff747fCopy full SHA for 9ff747f
app/code/Magento/ConfigurableProduct/Model/Plugin/ProductRepositorySave.php
@@ -60,7 +60,7 @@ public function beforeSave(
60
ProductInterface $product,
61
$saveOptions = false
62
): array {
63
- $result[] = $product;
+ $result = [$product, $saveOptions];
64
if ($product->getTypeId() !== Configurable::TYPE_CODE) {
65
return $result;
66
}
0 commit comments