Code Duplication    Length = 15-15 lines in 2 locations

Subscribers/Lifecycle.php 1 location

@@ 63-77 (lines=15) @@
60
     * @param Config $config
61
     * @param ConnectExport $connectExport
62
     */
63
    public function __construct(
64
        ModelManager $modelManager,
65
        $autoUpdateProducts,
66
        Helper $helper,
67
        SDK $sdk,
68
        Config $config,
69
        ConnectExport $connectExport
70
    ) {
71
        $this->manager = $modelManager;
72
        $this->autoUpdateProducts = $autoUpdateProducts;
73
        $this->helper = $helper;
74
        $this->sdk = $sdk;
75
        $this->config = $config;
76
        $this->connectExport = $connectExport;
77
    }
78
79
    public static function getSubscribedEvents()
80
    {

Subscribers/ProductStreams.php 1 location

@@ 61-75 (lines=15) @@
58
     * @param $pluginPath
59
     * @param \Shopware_Components_Snippet_Manager $snippetManager
60
     */
61
    public function __construct(
62
        ConnectExport $connectExport,
63
        Config $config,
64
        Helper $helper,
65
        SDK $sdk,
66
        $pluginPath,
67
        \Shopware_Components_Snippet_Manager $snippetManager
68
    ) {
69
        $this->connectExport = $connectExport;
70
        $this->config = $config;
71
        $this->helper = $helper;
72
        $this->sdk = $sdk;
73
        $this->pluginPath = $pluginPath;
74
        $this->snippetManager = $snippetManager;
75
    }
76
77
    /**
78
     * {@inheritdoc}