Skip to content

Commit b9515e5

Browse files
Return product stock data - Code Rewiev FIX
1 parent 67b4361 commit b9515e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogInventoryGraphQl/Model/Resolver/OnlyXLeftInStockResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ private function getOnlyXLeftQty(ProductInterface $product): ?float
9090
Configuration::XML_PATH_STOCK_THRESHOLD_QTY,
9191
ScopeInterface::SCOPE_STORE
9292
);
93-
if($thresholdQty === 0){
93+
if ($thresholdQty === 0) {
9494
return null;
9595
}
9696

0 commit comments

Comments
 (0)