File tree Expand file tree Collapse file tree 2 files changed +14
-13
lines changed
app/code/Magento/Catalog/Pricing Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 7
7
8
8
namespace Magento \Catalog \Pricing \Price ;
9
9
10
+ use Magento \Catalog \Model \Product ;
11
+ use Magento \Framework \Api \ExtensibleDataInterface ;
12
+
10
13
/**
11
14
* Configured price selection model
12
15
*/
@@ -47,14 +50,12 @@ public function getSelectionPriceList(\Magento\Catalog\Pricing\Price\ConfiguredP
47
50
/**
48
51
* Create Selection Price List
49
52
*
50
- * @param $option
51
- * @param \Magento\Catalog\Model\ Product $product
53
+ * @param ExtensibleDataInterface $option
54
+ * @param Product $product
52
55
* @return array
53
56
*/
54
- private function createSelectionPriceList (
55
- $ option ,
56
- \Magento \Catalog \Model \Product $ product
57
- ) {
57
+ private function createSelectionPriceList (ExtensibleDataInterface $ option , Product $ product ): array
58
+ {
58
59
return $ this ->calculator ->createSelectionPriceList ($ option , $ product );
59
60
}
60
61
}
Original file line number Diff line number Diff line change @@ -28,13 +28,13 @@ class ConfiguredPriceBox extends FinalPriceBox
28
28
private $ configuredPriceSelection ;
29
29
30
30
/**
31
- * @param Context $context
32
- * @param SaleableInterface $saleableItem
33
- * @param PriceInterface $price
34
- * @param RendererPool $rendererPool
35
- * @param array $data
36
- * @param SalableResolverInterface|null $salableResolver
37
- * @param MinimalPriceCalculatorInterface|null $minimalPriceCalculator
31
+ * @param Context $context
32
+ * @param SaleableInterface $saleableItem
33
+ * @param PriceInterface $price
34
+ * @param RendererPool $rendererPool
35
+ * @param array $data
36
+ * @param SalableResolverInterface|null $salableResolver
37
+ * @param MinimalPriceCalculatorInterface|null $minimalPriceCalculator
38
38
* @param \Magento\Catalog\Pricing\Price\ConfiguredPriceSelection|null $configuredPriceSelection
39
39
*/
40
40
public function __construct (
You can’t perform that action at this time.
0 commit comments