Code Duplication    Length = 7-7 lines in 2 locations

src/Commands/ListCommand.php 1 location

@@ 83-89 (lines=7) @@
80
     *
81
     * @return array
82
     */
83
    protected function getOptions()
84
    {
85
        return [
86
            ['only', 'o', InputOption::VALUE_OPTIONAL, 'Types of modules will be displayed.', null],
87
            ['direction', 'd', InputOption::VALUE_OPTIONAL, 'The direction of ordering.', 'asc'],
88
        ];
89
    }
90
}
91

src/Commands/MigrateStatusCommand.php 1 location

@@ 91-97 (lines=7) @@
88
     *
89
     * @return array
90
     */
91
    protected function getOptions()
92
    {
93
        return [
94
            ['direction', 'd', InputOption::VALUE_OPTIONAL, 'The direction of ordering.', 'asc'],
95
            ['database', null, InputOption::VALUE_OPTIONAL, 'The database connection to use.'],
96
        ];
97
    }
98
}
99