Skip to content

Commit 9439018

Browse files
Github issue 34380: Replaced "int" to "float".
1 parent a8072da commit 9439018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/Controller/Sidebar/UpdateItemQty.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function __construct(
6666
public function execute()
6767
{
6868
$itemId = (int)$this->getRequest()->getParam('item_id');
69-
$itemQty = (int)$this->getRequest()->getParam('item_qty') * 1;
69+
$itemQty = (float)$this->getRequest()->getParam('item_qty') * 1;
7070
$itemQty = $this->quantityProcessor->prepareQuantity($itemQty);
7171

7272
try {

0 commit comments

Comments
 (0)