Code Duplication    Length = 3-3 lines in 2 locations

src/N98/Magento/Command/Developer/Module/Observer/ListCommand.php 1 location

@@ 66-68 (lines=3) @@
63
        $eventFilter = $input->getArgument('event');
64
65
        if (is_null($area) || !in_array($area, $this->areas)) {
66
            foreach ($this->areas as $key => $area) {
67
                $question[] = '<comment>[' . ($key + 1) . ']</comment> ' . $area . PHP_EOL;
68
            }
69
70
            $question[] = '<question>Please select an area:</question>';
71

src/N98/Magento/Command/System/Cron/RunCommand.php 1 location

@@ 107-109 (lines=3) @@
104
     */
105
    protected function askJobCode(InputInterface $input, OutputInterface $output, $jobs)
106
    {
107
        foreach ($jobs as $key => $job) {
108
            $question[] = '<comment>[' . ($key + 1) . ']</comment> ' . $job['Job'] . PHP_EOL;
109
        }
110
        $question[] = '<question>Please select job: </question>' . PHP_EOL;
111
112
        /** @var $dialog DialogHelper */