Code Duplication    Length = 8-8 lines in 2 locations

src/Commands/MigrateRefreshCommand.php 1 location

@@ 69-76 (lines=8) @@
66
     *
67
     * @return array
68
     */
69
    protected function getOptions()
70
    {
71
        return [
72
            ['database', null, InputOption::VALUE_OPTIONAL, 'The database connection to use.'],
73
            ['force', null, InputOption::VALUE_NONE, 'Force the operation to run when in production.'],
74
            ['seed', null, InputOption::VALUE_NONE, 'Indicates if the seed task should be re-run.'],
75
        ];
76
    }
77
78
    public function getModuleName()
79
    {

src/Commands/SeedCommand.php 1 location

@@ 231-238 (lines=8) @@
228
     *
229
     * @return array
230
     */
231
    protected function getOptions()
232
    {
233
        return [
234
            ['class', null, InputOption::VALUE_OPTIONAL, 'The class name of the root seeder.'],
235
            ['database', null, InputOption::VALUE_OPTIONAL, 'The database connection to seed.'],
236
            ['force', null, InputOption::VALUE_NONE, 'Force the operation to run when in production.'],
237
        ];
238
    }
239
}
240