Code Duplication    Length = 7-7 lines in 2 locations

src/N98/Magento/Command/System/Setup/IncrementalCommand.php 2 locations

@@ 607-613 (lines=7) @@
604
605
        $c     = 1;
606
        $total = count($needsUpdate);
607
        foreach ($needsUpdate as $key => $value) {
608
            $toUpdate = $key;
609
            $this->_runStructureOrDataScripts($toUpdate, $needsUpdate, self::TYPE_MIGRATION_STRUCTURE);
610
            $output->writeln("($c of $total)");
611
            $output->writeln('');
612
            $c++;
613
        }
614
615
        $this->writeSection($output, "Run Data Updates");
616
        $c     = 1;
@@ 618-624 (lines=7) @@
615
        $this->writeSection($output, "Run Data Updates");
616
        $c     = 1;
617
        $total = count($needsUpdate);
618
        foreach ($needsUpdate as $key => $value) {
619
            $toUpdate = $key;
620
            $this->_runStructureOrDataScripts($toUpdate, $needsUpdate, self::TYPE_MIGRATION_DATA);
621
            $output->writeln("($c of $total)");
622
            $output->writeln('');
623
            $c++;
624
        }
625
    }
626
}
627