Code Duplication    Length = 13-15 lines in 2 locations

Subscribers/ProductStreams.php 1 location

@@ 56-68 (lines=13) @@
53
     * @param SDK $sdk
54
     * @param Enlight_Components_Db_Adapter_Pdo_Mysql $db
55
     */
56
    public function __construct(
57
        ConnectExport $connectExport,
58
        Config $config,
59
        Helper $helper,
60
        SDK $sdk,
61
        Enlight_Components_Db_Adapter_Pdo_Mysql $db
62
    ) {
63
        $this->connectExport = $connectExport;
64
        $this->config = $config;
65
        $this->helper = $helper;
66
        $this->sdk = $sdk;
67
        $this->db = $db;
68
    }
69
70
    /**
71
     * {@inheritdoc}

Subscribers/CronJob.php 1 location

@@ 81-95 (lines=15) @@
78
     * @param Container $container
79
     * @param ProductStreamService $productStreamService
80
     */
81
    public function __construct(
82
        SDK $sdk,
83
        ConnectExport $connectExport,
84
        Config $configComponent,
85
        Helper $helper,
86
        Container $container,
87
        ProductStreamService $productStreamService
88
    ) {
89
        $this->connectExport = $connectExport;
90
        $this->sdk = $sdk;
91
        $this->configComponent = $configComponent;
92
        $this->helper = $helper;
93
        $this->container = $container;
94
        $this->productStreamService = $productStreamService;
95
    }
96
97
    /**
98
     * {@inheritdoc}