Skip to content

Commit 964ed6d

Browse files
author
Oleksandr Iegorov
committed
MAGETWO-99930: Configuarable product stock status stays 'In Stock'
1 parent 3791c37 commit 964ed6d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/code/Magento/CatalogInventory/Observer/SaveInventoryDataObserver.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
use Magento\CatalogInventory\Api\StockRegistryInterface;
1414
use Magento\CatalogInventory\Model\StockItemValidator;
1515
use Magento\Framework\Event\Observer as EventObserver;
16-
use Magento\ConfigurableProduct\Model\Inventory\ParentItemProcessor;
1716

1817
/**
1918
* Saves stock data from a product to the Stock Item
@@ -41,7 +40,7 @@ class SaveInventoryDataObserver implements ObserverInterface
4140
private $stockItemValidator;
4241

4342
/**
44-
* @var ParentItemProcessor[]
43+
* @var array
4544
*/
4645
private $parentItemProcessorPool;
4746

app/code/Magento/ConfigurableProduct/Model/Inventory/ParentItemProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function __construct(
5252
}
5353

5454
/**
55-
* Process pare
55+
* Process parent products
5656
*
5757
* @param Product $product
5858
* @return void

0 commit comments

Comments
 (0)