Code Duplication    Length = 13-13 lines in 2 locations

src/Listeners/ArchiveListener.php 1 location

@@ 81-93 (lines=13) @@
78
     * @param \Doctrine\Common\Collections\Collection                   $systemLoggers     The array with the system loggers instances
79
     * @param \TechDivision\Import\Configuration\ConfigurationInterface $configuration     The configuration instance
80
     */
81
    public function __construct(
82
        RegistryProcessorInterface $registryProcessor,
83
        ImportProcessorInterface $importProcessor,
84
        Collection $systemLoggers,
85
        ConfigurationInterface $configuration
86
    ) {
87
88
        // set the passed instances
89
        $this->registryProcessor = $registryProcessor;
90
        $this->importProcessor = $importProcessor;
91
        $this->systemLoggers = $systemLoggers;
92
        $this->configuration = $configuration;
93
    }
94
95
    /**
96
     * Return's the registry processor instance.

src/Listeners/ImportHistoryListener.php 1 location

@@ 83-95 (lines=13) @@
80
     * @param \Doctrine\Common\Collections\Collection                   $systemLoggers     The array with the system loggers instances
81
     * @param \TechDivision\Import\Configuration\ConfigurationInterface $configuration     The configuration instance
82
     */
83
    public function __construct(
84
        RegistryProcessorInterface $registryProcessor,
85
        ImportProcessorInterface $importProcessor,
86
        Collection $systemLoggers,
87
        ConfigurationInterface $configuration
88
    ) {
89
90
        // set the passed instances
91
        $this->registryProcessor = $registryProcessor;
92
        $this->importProcessor = $importProcessor;
93
        $this->systemLoggers = $systemLoggers;
94
        $this->configuration = $configuration;
95
    }
96
97
    /**
98
     * Return's the registry processor instance.