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

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