Code Duplication    Length = 15-15 lines in 2 locations

Subscribers/Article.php 1 location

@@ 77-91 (lines=15) @@
74
     * @param Config $config
75
     * @param SDK $sdk
76
     */
77
    public function __construct(
78
        Gateway $connectGateway,
79
        ModelManager $modelManager,
80
        ConnectExport $connectExport,
81
        Helper $helper,
82
        Config $config,
83
        SDK $sdk
84
    ) {
85
        $this->connectGateway = $connectGateway;
86
        $this->modelManager = $modelManager;
87
        $this->connectExport = $connectExport;
88
        $this->helper = $helper;
89
        $this->config = $config;
90
        $this->sdk = $sdk;
91
    }
92
93
    /**
94
     * {@inheritdoc}

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
    {