Skip to content

Commit 3a1351d

Browse files
committed
Typo change datatable, dataTable to DataTable for consistency.
1 parent 9a5198e commit 3a1351d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/Generators/DataTablesHtmlCommand.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ class DataTablesHtmlCommand extends DataTablesMakeCommand
1212
* @var string
1313
*/
1414
protected $signature = 'datatables:html
15-
{name : The name of the datatable html.}
16-
{--dom= : The dom of the datatable.}
17-
{--buttons= : The buttons of the datatable.}
15+
{name : The name of the DataTable html.}
16+
{--dom= : The dom of the DataTable.}
17+
{--buttons= : The buttons of the DataTable.}
1818
{--table= : Scaffold columns from the table.}
1919
{--builder : Ignore, added to work with parent generator.}
20-
{--columns= : The columns of the datatable.}';
20+
{--columns= : The columns of the DataTable.}';
2121

2222
/**
2323
* The console command description.
2424
*
2525
* @var string
2626
*/
27-
protected $description = 'Create a new dataTable html class.';
27+
protected $description = 'Create a new DataTable html class.';
2828

2929
/**
3030
* The type of class being generated.

src/Generators/DataTablesMakeCommand.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ class DataTablesMakeCommand extends GeneratorCommand
1414
* @var string
1515
*/
1616
protected $signature = 'datatables:make
17-
{name : The name of the datatable.}
17+
{name : The name of the DataTable.}
1818
{--model= : The name of the model to be used.}
1919
{--model-namespace= : The namespace of the model to be used.}
2020
{--action= : The path of the action view.}
2121
{--table= : Scaffold columns from the table.}
2222
{--builder : Extract html() to a Builder class.}
23-
{--dom= : The dom of the datatable.}
24-
{--buttons= : The buttons of the datatable.}
25-
{--columns= : The columns of the datatable.}';
23+
{--dom= : The dom of the DataTable.}
24+
{--buttons= : The buttons of the DataTable.}
25+
{--columns= : The columns of the DataTable.}';
2626

2727
/**
2828
* The console command description.
2929
*
3030
* @var string
3131
*/
32-
protected $description = 'Create a new dataTable service class.';
32+
protected $description = 'Create a new DataTable service class.';
3333

3434
/**
3535
* The type of class being generated.

0 commit comments

Comments
 (0)