Skip to content

Commit 163a338

Browse files
committed
MAGETWO-66753: Return the same data on exit #6250
- Merge Pull Request #6250 from flancer64/magento2:patch-9
2 parents 8209e53 + 3f901e2 commit 163a338

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/CatalogInventory/Model/ResourceModel

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogInventory/Model/ResourceModel/Stock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public function lockProductsStock($productIds, $websiteId)
140140
public function correctItemsQty(array $items, $websiteId, $operator)
141141
{
142142
if (empty($items)) {
143-
return $this;
143+
return;
144144
}
145145

146146
$connection = $this->getConnection();

0 commit comments

Comments
 (0)