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 bc50d91 commit 23c2daeCopy full SHA for 23c2dae
app/code/Magento/Dhl/Model/Carrier.php
@@ -774,7 +774,7 @@ protected function _getAllItems()
774
* @param float $itemWeight
775
* @param float $maxWeight
776
*/
777
- private function pushDecimalItems(array &$decimalItems, float $itemWeight, float $maxWeight): void
+ private function pushDecimalItems(array &$decimalItems, float $itemWeight, float $maxWeight)
778
{
779
$qtyItem = floor($itemWeight / $maxWeight);
780
$decimalItems[] = ['weight' => $maxWeight, 'qty' => $qtyItem];
0 commit comments