5
5
*/
6
6
namespace Magento \DownloadableSampleData \Model ;
7
7
8
- use Magento \Framework \Setup \SampleData \Context as SampleDataContext ;
9
-
10
8
/**
11
9
* Setup downloadable product
12
10
*/
@@ -17,11 +15,6 @@ class Product extends \Magento\CatalogSampleData\Model\Product
17
15
*/
18
16
protected $ productType = \Magento \Downloadable \Model \Product \Type::TYPE_DOWNLOADABLE ;
19
17
20
- /**
21
- * @var \Magento\SampleData\Helper\Deploy
22
- */
23
- protected $ deployHelper ;
24
-
25
18
/**
26
19
* @var \Magento\DownloadableSampleData\Model\Product\Converter $converter
27
20
*/
@@ -32,35 +25,6 @@ class Product extends \Magento\CatalogSampleData\Model\Product
32
25
*/
33
26
protected $ downloadableData = [];
34
27
35
- /**
36
- * @param SampleDataContext $sampleDataContext
37
- * @param \Magento\Catalog\Model\ProductFactory $productFactory
38
- * @param \Magento\Catalog\Model\ConfigFactory $catalogConfig
39
- * @param \Magento\DownloadableSampleData\Model\Product\Converter $converter
40
- * @param \Magento\CatalogSampleData\model\Product\Gallery $gallery
41
- * @param \Magento\Store\Model\StoreManagerInterface $storeManager
42
- */
43
- public function __construct (
44
- SampleDataContext $ sampleDataContext ,
45
- \Magento \Catalog \Model \ProductFactory $ productFactory ,
46
- \Magento \Catalog \Model \ConfigFactory $ catalogConfig ,
47
- \Magento \DownloadableSampleData \Model \Product \Converter $ converter ,
48
- \Magento \CatalogSampleData \Model \Product \Gallery $ gallery ,
49
- \Magento \Store \Model \StoreManagerInterface $ storeManager ,
50
- \Magento \SampleData \Helper \Deploy $ deployHelper
51
- )
52
- {
53
- $ this ->deployHelper = $ deployHelper ;
54
- parent ::__construct (
55
- $ sampleDataContext ,
56
- $ productFactory ,
57
- $ catalogConfig ,
58
- $ converter ,
59
- $ gallery ,
60
- $ storeManager
61
- );
62
- }
63
-
64
28
/**
65
29
* {@inheritdoc}
66
30
*/
0 commit comments