File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
app/code/Magento/Catalog/Model Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ public function __construct(
65
65
\Magento \Catalog \Api \ProductRepositoryInterface $ productRepository ,
66
66
\Magento \Catalog \Model \ResourceModel \Product \Option $ optionResource ,
67
67
\Magento \Catalog \Model \Product \Option \Converter $ converter ,
68
- \Magento \Catalog \Model \Product \OptionFactory $ optionFactory ,
69
- \Magento \Catalog \Model \ResourceModel \Product \Option \CollectionFactory $ collectionFactory
68
+ \Magento \Catalog \Model \Product \OptionFactory $ optionFactory = null ,
69
+ \Magento \Catalog \Model \ResourceModel \Product \Option \CollectionFactory $ collectionFactory = null
70
70
) {
71
71
$ this ->productRepository = $ productRepository ;
72
72
$ this ->optionResource = $ optionResource ;
Original file line number Diff line number Diff line change @@ -94,8 +94,8 @@ public function __construct(
94
94
\Magento \Catalog \Model \Product \Initialization \Helper \ProductLinks $ linkInitializer ,
95
95
\Magento \Catalog \Model \ProductLink \Management $ linkManagement ,
96
96
\Magento \Framework \Reflection \DataObjectProcessor $ dataObjectProcessor ,
97
- \Magento \Catalog \Api \Data \ProductLinkInterfaceFactory $ productLinkFactory ,
98
- \Magento \Catalog \Api \Data \ProductLinkExtensionFactory $ productLinkExtensionFactory
97
+ \Magento \Catalog \Api \Data \ProductLinkInterfaceFactory $ productLinkFactory = null ,
98
+ \Magento \Catalog \Api \Data \ProductLinkExtensionFactory $ productLinkExtensionFactory = null
99
99
) {
100
100
$ this ->productRepository = $ productRepository ;
101
101
$ this ->entityCollectionProvider = $ entityCollectionProvider ;
You can’t perform that action at this time.
0 commit comments