Skip to content

Commit b73e962

Browse files
authored
MAGETWO-66753: Return the same data on exit #6250
2 parents 0375e41 + 163a338 commit b73e962

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)