File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
BundleGraphQl/Model/Resolver/Products/DataProvider/Product/Option
Catalog/Model/ResourceModel/Product Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
+ /**
3
+ * Copyright © Magento, Inc. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
6
+ declare (strict_types=1 );
7
+
2
8
namespace Magento \BundleGraphQl \Model \Resolver \Products \DataProvider \Product \Option ;
3
9
4
10
/**
Original file line number Diff line number Diff line change 1
1
<?php
2
+ /**
3
+ * Copyright © Magento, Inc. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
6
+ declare (strict_types=1 );
7
+
2
8
namespace Magento \Catalog \Model \ResourceModel \Product ;
3
9
4
10
/**
@@ -26,8 +32,10 @@ class CollectionFactory
26
32
* @param \Magento\Framework\ObjectManagerInterface $objectManager
27
33
* @param string $instanceName
28
34
*/
29
- public function __construct (\Magento \Framework \ObjectManagerInterface $ objectManager , $ instanceName = '\\Magento \\Catalog \\Model \\ResourceModel \\Product \\Collection ' )
30
- {
35
+ public function __construct (
36
+ \Magento \Framework \ObjectManagerInterface $ objectManager ,
37
+ $ instanceName = Magento \Catalog \Model \ResourceModel \Product \Collection::class
38
+ ) {
31
39
$ this ->_objectManager = $ objectManager ;
32
40
$ this ->_instanceName = $ instanceName ;
33
41
}
You can’t perform that action at this time.
0 commit comments