Code Duplication    Length = 8-8 lines in 2 locations

src/Mathielen/ImportEngine/Import/Run/ImportRunner.php 2 locations

@@ 91-98 (lines=8) @@
88
    /**
89
     * @return Import
90
     */
91
    public function dryRun(Import $import)
92
    {
93
        $importRun = $import->getRun();
94
        $workflow = $this->workflowFactory->buildDryrunWorkflow($import, $importRun);
95
        $this->process($workflow, $import);
96
97
        return $importRun;
98
    }
99
100
    /**
101
     * @return Import
@@ 103-110 (lines=8) @@
100
    /**
101
     * @return Import
102
     */
103
    public function run(Import $import)
104
    {
105
        $importRun = $import->getRun();
106
        $workflow = $this->workflowFactory->buildRunWorkflow($import, $importRun);
107
        $this->process($workflow, $import);
108
109
        return $importRun;
110
    }
111
112
}
113