Code Duplication    Length = 8-8 lines in 2 locations

src/Generators/DataTablesHtmlCommand.php 1 location

@@ 282-289 (lines=8) @@
279
     *
280
     * @return array
281
     */
282
    protected function getOptions()
283
    {
284
        return [
285
            ['columns', null, InputOption::VALUE_OPTIONAL, 'Use the provided columns.', null],
286
            ['buttons', null, InputOption::VALUE_OPTIONAL, 'Use the provided buttons.', null],
287
            ['dom', null, InputOption::VALUE_OPTIONAL, 'Use the provided DOM.', null],
288
        ];
289
    }
290
}
291

src/Generators/DataTablesMakeCommand.php 1 location

@@ 239-246 (lines=8) @@
236
     *
237
     * @return array
238
     */
239
    protected function getOptions()
240
    {
241
        return [
242
            ['model', null, InputOption::VALUE_NONE, 'Use the provided name as the model.', null],
243
            ['action', null, InputOption::VALUE_OPTIONAL, 'Path to action column template.', null],
244
            ['columns', null, InputOption::VALUE_OPTIONAL, 'Use the provided columns.', null],
245
        ];
246
    }
247
}
248