5
5
*/
6
6
namespace Magento \Catalog \Model \Product ;
7
7
8
- use Magento \Catalog \Api \Data \ProductInterface ;
9
8
use Magento \Catalog \Model \Product ;
10
- use Magento \Catalog \Model \Product \Type \AbstractType ;
11
9
use Magento \Catalog \Model \Product \Type \Pool ;
12
10
use Magento \Catalog \Model \Product \Type \Price ;
13
11
use Magento \Catalog \Model \Product \Type \Price \Factory as PriceFactory ;
14
12
use Magento \Catalog \Model \Product \Type \Simple ;
15
13
use Magento \Catalog \Model \ProductTypes \ConfigInterface ;
16
14
use Magento \Framework \Data \OptionSourceInterface ;
17
15
use Magento \Framework \Pricing \PriceInfo \Factory as PriceInfoFactory ;
18
- use Magento \Framework \Pricing \PriceInfoInterface ;
19
16
20
17
/**
21
18
* Product type model
@@ -113,8 +110,8 @@ public function __construct(
113
110
/**
114
111
* Factory to product singleton product type instances
115
112
*
116
- * @param ProductInterface $product
117
- * @return AbstractType
113
+ * @param \Magento\Catalog\Api\Data\ ProductInterface $product
114
+ * @return \Magento\Catalog\Model\Product\Type\ AbstractType
118
115
*/
119
116
public function factory ($ product )
120
117
{
@@ -137,7 +134,7 @@ public function factory($product)
137
134
* Product type price model factory
138
135
*
139
136
* @param string $productType
140
- * @return Price
137
+ * @return \Magento\Catalog\Model\Product\Type\ Price
141
138
*/
142
139
public function priceFactory ($ productType )
143
140
{
@@ -161,7 +158,7 @@ public function priceFactory($productType)
161
158
* Get Product Price Info object
162
159
*
163
160
* @param Product $saleableItem
164
- * @return PriceInfoInterface
161
+ * @return \Magento\Framework\Pricing\ PriceInfoInterface
165
162
*/
166
163
public function getPriceInfo (Product $ saleableItem )
167
164
{
0 commit comments