File tree Expand file tree Collapse file tree 9 files changed +11
-11
lines changed
CatalogRuleSampleData/Model
GroupedProductSampleData/Setup
OfflineShippingSampleData/Model
SalesSampleData/Model/Order Expand file tree Collapse file tree 9 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class Installer implements Setup\SampleData\InstallerInterface
32
32
*/
33
33
public function __construct (
34
34
\Magento \BundleSampleData \Model \Product $ bundleProduct ,
35
- StoreManagerInterface $ storeManager = null
35
+ ? StoreManagerInterface $ storeManager = null
36
36
) {
37
37
$ this ->bundleProduct = $ bundleProduct ;
38
38
$ this ->storeManager = $ storeManager ?: \Magento \Framework \App \ObjectManager::getInstance ()
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ public function __construct(
72
72
\Magento \Catalog \Model \ResourceModel \Category \CollectionFactory $ categoryCollectionFactory ,
73
73
\Magento \Customer \Model \GroupFactory $ groupFactory ,
74
74
\Magento \Store \Model \WebsiteFactory $ websiteFactory ,
75
- Json $ serializer = null
75
+ ? Json $ serializer = null
76
76
) {
77
77
$ this ->fixtureManager = $ sampleDataContext ->getFixtureManager ();
78
78
$ this ->csvReader = $ sampleDataContext ->getCsvReader ();
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ public function __construct(
32
32
\Magento \Catalog \Model \ResourceModel \Product \Attribute \CollectionFactory $ attributeCollectionFactory ,
33
33
\Magento \Eav \Model \ResourceModel \Entity \Attribute \Option \CollectionFactory $ attrOptionCollectionFactory ,
34
34
\Magento \Catalog \Model \ResourceModel \Product \CollectionFactory $ productCollectionFactory ,
35
- \Magento \Downloadable \Api \Data \File \ContentInterfaceFactory $ fileContentFactory = null ,
36
- Filesystem $ filesystem = null
35
+ ? \Magento \Downloadable \Api \Data \File \ContentInterfaceFactory $ fileContentFactory = null ,
36
+ ? Filesystem $ filesystem = null
37
37
) {
38
38
parent ::__construct (
39
39
$ categoryTreeFactory ,
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public function __construct(
44
44
Category $ category ,
45
45
Attribute $ attribute ,
46
46
Product $ product ,
47
- StoreManagerInterface $ storeManager = null
47
+ ? StoreManagerInterface $ storeManager = null
48
48
) {
49
49
$ this ->category = $ category ;
50
50
$ this ->attribute = $ attribute ;
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class Installer implements Setup\SampleData\InstallerInterface
29
29
*/
30
30
public function __construct (
31
31
\Magento \GroupedProductSampleData \Model \Product $ groupedProduct ,
32
- StoreManagerInterface $ storeManager = null
32
+ ? StoreManagerInterface $ storeManager = null
33
33
) {
34
34
$ this ->groupedProduct = $ groupedProduct ;
35
35
$ this ->storeManager = $ storeManager ?: \Magento \Framework \App \ObjectManager::getInstance ()
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ public function __construct(
83
83
\Magento \Framework \App \Cache \TypeListInterface $ cacheTypeList ,
84
84
\Magento \Framework \App \Config \Storage \WriterInterface $ configWriter ,
85
85
\Magento \Store \Model \StoreManagerInterface $ storeManager ,
86
- SystemConfig $ systemConfig = null
86
+ ? SystemConfig $ systemConfig = null
87
87
) {
88
88
$ this ->fixtureManager = $ sampleDataContext ->getFixtureManager ();
89
89
$ this ->csvReader = $ sampleDataContext ->getCsvReader ();
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public function __construct(
56
56
\Magento \Catalog \Model \ProductFactory $ productFactory ,
57
57
\Magento \ConfigurableSampleData \Model \Product \ConverterFactory $ productConverterFactory ,
58
58
\Magento \Eav \Model \Config $ eavConfig ,
59
- Json $ serializer = null
59
+ ? Json $ serializer = null
60
60
) {
61
61
$ this ->customerRepository = $ customerAccount ;
62
62
$ this ->productFactory = $ productFactory ;
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ public function __construct(
87
87
\Magento \Tax \Model \Calculation \RateFactory $ taxRateFactory ,
88
88
\Magento \Framework \Api \SearchCriteriaBuilder $ criteriaBuilder ,
89
89
\Magento \Framework \Api \FilterBuilder $ filterBuilder ,
90
- \Magento \Directory \Model \ResourceModel \Region \CollectionFactory $ regionCollectionFactory = null
90
+ ? \Magento \Directory \Model \ResourceModel \Region \CollectionFactory $ regionCollectionFactory = null
91
91
) {
92
92
$ this ->fixtureManager = $ sampleDataContext ->getFixtureManager ();
93
93
$ this ->csvReader = $ sampleDataContext ->getCsvReader ();
Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ public function __construct(
76
76
\Magento \Cms \Model \BlockFactory $ cmsBlockFactory ,
77
77
\Magento \Widget \Model \ResourceModel \Widget \Instance \CollectionFactory $ appCollectionFactory ,
78
78
\Magento \Catalog \Model \ResourceModel \Category \CollectionFactory $ categoryFactory ,
79
- Json $ serializer = null ,
80
- State $ appState = null
79
+ ? Json $ serializer = null ,
80
+ ? State $ appState = null
81
81
) {
82
82
$ this ->fixtureManager = $ sampleDataContext ->getFixtureManager ();
83
83
$ this ->csvReader = $ sampleDataContext ->getCsvReader ();
You can’t perform that action at this time.
0 commit comments