Code Duplication    Length = 5-5 lines in 2 locations

src/N98/Magento/Command/Database/InfoCommand.php 1 location

@@ 79-83 (lines=5) @@
76
                throw new \InvalidArgumentException('Unknown setting: ' . $settingArgument);
77
            }
78
            $output->writeln((string) $settings[$settingArgument]);
79
        } else {
80
            $this->getHelper('table')
81
                ->setHeaders(array('Name', 'Value'))
82
                ->renderByFormat($output, $rows, $input->getOption('format'));
83
        }
84
    }
85
}
86

src/N98/Magento/Command/System/InfoCommand.php 1 location

@@ 156-160 (lines=5) @@
153
                throw new InvalidArgumentException('Unknown key: ' . $settingArgument);
154
            }
155
            $output->writeln((string) $this->infos[$settingArgument]);
156
        } else {
157
            $this->getHelper('table')
158
                ->setHeaders(array('name', 'value'))
159
                ->renderByFormat($output, $table, $input->getOption('format'));
160
        }
161
    }
162
163
    /**