@@ -77,7 +77,7 @@ public function __construct(
77
77
*
78
78
* @param float|string $amount
79
79
* @param SaleableInterface $saleableItem
80
- * @param null|string|array $exclude
80
+ * @param null|bool| string|array $exclude
81
81
* @param null|array $context
82
82
* @return \Magento\Framework\Pricing\Amount\AmountInterface
83
83
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
@@ -92,7 +92,7 @@ public function getAmount($amount, SaleableInterface $saleableItem, $exclude = n
92
92
*
93
93
* @param float $amount
94
94
* @param Product $saleableItem
95
- * @param null|string $exclude
95
+ * @param null|bool| string|array $exclude
96
96
* @return \Magento\Framework\Pricing\Amount\AmountInterface
97
97
*/
98
98
public function getMinRegularAmount ($ amount , Product $ saleableItem , $ exclude = null )
@@ -105,7 +105,7 @@ public function getMinRegularAmount($amount, Product $saleableItem, $exclude = n
105
105
*
106
106
* @param float $amount
107
107
* @param Product $saleableItem
108
- * @param null|string $exclude
108
+ * @param null|bool| string|array $exclude
109
109
* @return \Magento\Framework\Pricing\Amount\AmountInterface
110
110
*/
111
111
public function getMaxAmount ($ amount , Product $ saleableItem , $ exclude = null )
@@ -118,7 +118,7 @@ public function getMaxAmount($amount, Product $saleableItem, $exclude = null)
118
118
*
119
119
* @param float $amount
120
120
* @param Product $saleableItem
121
- * @param null|string $exclude
121
+ * @param null|bool| string|array $exclude
122
122
* @return \Magento\Framework\Pricing\Amount\AmountInterface
123
123
*/
124
124
public function getMaxRegularAmount ($ amount , Product $ saleableItem , $ exclude = null )
@@ -130,7 +130,7 @@ public function getMaxRegularAmount($amount, Product $saleableItem, $exclude = n
130
130
* Option amount calculation for bundle product
131
131
*
132
132
* @param Product $saleableItem
133
- * @param null|string|array $exclude
133
+ * @param null|bool| string|array $exclude
134
134
* @param bool $searchMin
135
135
* @param float $baseAmount
136
136
* @param bool $useRegularPrice
@@ -260,7 +260,7 @@ protected function getBundleOptions(Product $saleableItem)
260
260
* @param float $basePriceValue
261
261
* @param Product $bundleProduct
262
262
* @param \Magento\Bundle\Pricing\Price\BundleSelectionPrice[] $selectionPriceList
263
- * @param null|string|array $exclude
263
+ * @param null|bool| string|array $exclude
264
264
* @return \Magento\Framework\Pricing\Amount\AmountInterface
265
265
*/
266
266
public function calculateBundleAmount ($ basePriceValue , $ bundleProduct , $ selectionPriceList , $ exclude = null )
@@ -278,7 +278,7 @@ public function calculateBundleAmount($basePriceValue, $bundleProduct, $selectio
278
278
* @param float $basePriceValue
279
279
* @param Product $bundleProduct
280
280
* @param \Magento\Bundle\Pricing\Price\BundleSelectionPrice[] $selectionPriceList
281
- * @param null|string|array $exclude
281
+ * @param null|bool| string|arrayy $exclude
282
282
* @return \Magento\Framework\Pricing\Amount\AmountInterface
283
283
*/
284
284
protected function calculateFixedBundleAmount ($ basePriceValue , $ bundleProduct , $ selectionPriceList , $ exclude )
@@ -297,7 +297,7 @@ protected function calculateFixedBundleAmount($basePriceValue, $bundleProduct, $
297
297
* @param float $basePriceValue
298
298
* @param Product $bundleProduct
299
299
* @param \Magento\Bundle\Pricing\Price\BundleSelectionPrice[] $selectionPriceList
300
- * @param null|string|array $exclude
300
+ * @param null|bool| string|array $exclude
301
301
* @return \Magento\Framework\Pricing\Amount\AmountInterface
302
302
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
303
303
*/
0 commit comments