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

@@ 198-205 (lines=8) @@
195
     *
196
     * @return array
197
     */
198
    protected function getOptions()
199
    {
200
        return [
201
            ['class', null, InputOption::VALUE_OPTIONAL, 'The class name of the root seeder.'],
202
            ['database', null, InputOption::VALUE_OPTIONAL, 'The database connection to seed.'],
203
            ['force', null, InputOption::VALUE_NONE, 'Force the operation to run when in production.'],
204
        ];
205
    }
206
}
207