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 27217d0 commit bfb51d1Copy full SHA for bfb51d1
app/code/Magento/SalesRule/Model/Rule/Condition/Product/Subselect.php
@@ -207,11 +207,11 @@ private function validateSubSelectConditions(mixed $item): bool
207
*
208
* @param mixed $item
209
* @param mixed $attr
210
- * @param int $total
211
- * @return int|mixed
+ * @param float $total
+ * @return float
212
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
213
*/
214
- private function getBaseRowTotalForChildrenProduct(mixed $item, mixed $attr, int $total): mixed
+ private function getBaseRowTotalForChildrenProduct(mixed $item, mixed $attr, float $total): float
215
{
216
$hasValidChild = false;
217
$useChildrenTotal = ($item->getProductType() == Type::TYPE_BUNDLE);
0 commit comments