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

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