Skip to content

Commit 53a0325

Browse files
author
Vitaliy Boyko
committed
graphQl-786: fixed type
1 parent 1f06dea commit 53a0325

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/BundleGraphQl/Model/Resolver/Links/Collection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ private function fetch() : array
117117
'price' => $link->getSelectionPriceValue(),
118118
'position' => $link->getPosition(),
119119
'id' => $link->getSelectionId(),
120-
'qty' => (int)$link->getSelectionQty(),
121-
'quantity' => (int)$link->getSelectionQty(),
120+
'qty' => (float)$link->getSelectionQty(),
121+
'quantity' => (float)$link->getSelectionQty(),
122122
'is_default' => (bool)$link->getIsDefault(),
123123
'price_type' => $this->enumLookup->getEnumValueFromField(
124124
'PriceTypeEnum',

0 commit comments

Comments
 (0)