File tree 3 files changed +13
-10
lines changed
3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: "Static Analysis"
2
2
3
3
on :
4
4
push :
5
+ branches :
6
+ - master
7
+ - 11.x
5
8
paths :
6
9
- .github/workflows/static-analysis.yml
7
10
- composer.*
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ class DummyClass extends DataTable
43
43
->setTableId('DummyTableId')
44
44
->columns($this->getColumns())
45
45
->minifiedAjax()
46
- //->dom('DummyDOM')
47
46
->orderBy(1)
48
47
->selectStyleSingle()
49
48
->buttons([
Original file line number Diff line number Diff line change 2
2
3
3
namespace DummyNamespace;
4
4
5
+ use Yajra\DataTables\Html\Builder;
5
6
use Yajra\DataTables\Html\Button;
6
7
use Yajra\DataTables\Html\Column;
7
8
use Yajra\DataTables\Html\DataTableHtml;
@@ -17,15 +18,15 @@ class DummyClass extends DataTableHtml
17
18
*/
18
19
public function handle(): Builder
19
20
{
20
- return $this->setTableId('DummyTableId' )
21
- ->columns($this->getColumns() )
22
- ->minifiedAjax( )
23
- //->dom('DummyDOM' )
24
- ->orderBy(1)
25
- ->selectStyleSingle()
26
- ->buttons([
27
- DummyButtons
28
- ]);
21
+ return $this->getHtmlBuilder( )
22
+ ->setTableId('DummyTableId' )
23
+ ->columns($this->getColumns() )
24
+ ->minifiedAjax( )
25
+ ->orderBy(1)
26
+ ->selectStyleSingle()
27
+ ->buttons([
28
+ DummyButtons
29
+ ]);
29
30
}
30
31
31
32
/**
You can’t perform that action at this time.
0 commit comments