Skip to content

Commit 6c62233

Browse files
authored
Reduce requirements for parameter in catalog product type factory
1 parent 606c3e8 commit 6c62233

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public function __construct(
116116
/**
117117
* Factory to product singleton product type instances
118118
*
119-
* @param \Magento\Catalog\Model\Product $product
119+
* @param \Magento\Catalog\Api\Data\ProductInterface $product
120120
* @return \Magento\Catalog\Model\Product\Type\AbstractType
121121
*/
122122
public function factory($product)

0 commit comments

Comments
 (0)