Skip to content

Commit e625497

Browse files
committed
use full qualified name in annotaion for methods
1 parent 4a5cf2f commit e625497

File tree

1 file changed

+4
-7
lines changed
  • app/code/Magento/Catalog/Model/Product

1 file changed

+4
-7
lines changed

app/code/Magento/Catalog/Model/Product/Type.php

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,14 @@
55
*/
66
namespace Magento\Catalog\Model\Product;
77

8-
use Magento\Catalog\Api\Data\ProductInterface;
98
use Magento\Catalog\Model\Product;
10-
use Magento\Catalog\Model\Product\Type\AbstractType;
119
use Magento\Catalog\Model\Product\Type\Pool;
1210
use Magento\Catalog\Model\Product\Type\Price;
1311
use Magento\Catalog\Model\Product\Type\Price\Factory as PriceFactory;
1412
use Magento\Catalog\Model\Product\Type\Simple;
1513
use Magento\Catalog\Model\ProductTypes\ConfigInterface;
1614
use Magento\Framework\Data\OptionSourceInterface;
1715
use Magento\Framework\Pricing\PriceInfo\Factory as PriceInfoFactory;
18-
use Magento\Framework\Pricing\PriceInfoInterface;
1916

2017
/**
2118
* Product type model
@@ -113,8 +110,8 @@ public function __construct(
113110
/**
114111
* Factory to product singleton product type instances
115112
*
116-
* @param ProductInterface $product
117-
* @return AbstractType
113+
* @param \Magento\Catalog\Api\Data\ProductInterface $product
114+
* @return \Magento\Catalog\Model\Product\Type\AbstractType
118115
*/
119116
public function factory($product)
120117
{
@@ -137,7 +134,7 @@ public function factory($product)
137134
* Product type price model factory
138135
*
139136
* @param string $productType
140-
* @return Price
137+
* @return \Magento\Catalog\Model\Product\Type\Price
141138
*/
142139
public function priceFactory($productType)
143140
{
@@ -161,7 +158,7 @@ public function priceFactory($productType)
161158
* Get Product Price Info object
162159
*
163160
* @param Product $saleableItem
164-
* @return PriceInfoInterface
161+
* @return \Magento\Framework\Pricing\PriceInfoInterface
165162
*/
166163
public function getPriceInfo(Product $saleableItem)
167164
{

0 commit comments

Comments
 (0)