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

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