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 e99ca6e commit c982329Copy full SHA for c982329
app/code/Magento/CatalogInventoryGraphQl/Model/Resolver/MaxSaleQtyResolver.php
@@ -43,6 +43,6 @@ public function resolve(
43
array $args = null
44
) {
45
$stockItem = $this->stockItemService->getStockItem($value['model']);
46
- return $stockItem ? (float)$stockItem->getMaxSaleQty() : null;
+ return $stockItem ? $stockItem->getMaxSaleQty() : null;
47
}
48
app/code/Magento/CatalogInventoryGraphQl/Model/Resolver/MinSaleQtyResolver.php
- return $stockItem ? (float)$stockItem->getMinSaleQty() : null;
+ return $stockItem ? $stockItem->getMinSaleQty() : null;
0 commit comments