Code Duplication    Length = 8-8 lines in 2 locations

src/Commands/SeedCommand.php 1 location

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

src/Commands/MigrateRefreshCommand.php 1 location

@@ 78-85 (lines=8) @@
75
     *
76
     * @return array
77
     */
78
    protected function getOptions()
79
    {
80
        return [
81
            ['database', null, InputOption::VALUE_OPTIONAL, 'The database connection to use.'],
82
            ['force', null, InputOption::VALUE_NONE, 'Force the operation to run when in production.'],
83
            ['seed', null, InputOption::VALUE_NONE, 'Indicates if the seed task should be re-run.'],
84
        ];
85
    }
86
87
    public function getModuleName()
88
    {