Code Duplication    Length = 4-4 lines in 2 locations

src/Iblock/Command/ExportCommand.php 1 location

@@ 85-88 (lines=4) @@
82
    {
83
        $formatter = new FormatterHelper();
84
85
        if (count($this->errors) > 0) {
86
            $output->writeln($formatter->formatBlock($this->errors, 'error'));
87
            return false;
88
        }
89
90
        $exporter = new Exporter();
91
        $exporter

src/Iblock/Command/ImportCommand.php 1 location

@@ 88-91 (lines=4) @@
85
    {
86
        $formatter = new FormatterHelper();
87
88
        if (count($this->errors) > 0) {
89
            $output->writeln($formatter->formatBlock($this->errors, 'error'));
90
            return false;
91
        }
92
93
        $importer = new Importer();
94
        $importer