Skip to content

Commit 5b413b8

Browse files
committed
StyleCI
1 parent b644913 commit 5b413b8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/QueryDataTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class QueryDataTable extends DataTableAbstract
4949
*/
5050
protected bool $keepSelectBindings = false;
5151

52-
/**
52+
/**
5353
* Flag to ignore the selects in count query.
5454
*
5555
* @var bool

tests/Unit/QueryDataTableTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ public function test_complex_query_use_select_in_count()
4242
'last_post_id' => DB::table('posts')
4343
->whereColumn('posts.user_id', 'users.id')
4444
->orderBy('created_at')
45-
->select('id')
45+
->select('id'),
4646
])
4747
->orderBy(DB::table('posts')->whereColumn('posts.user_id', 'users.id')->orderBy('created_at')->select('created_at')
48-
)
48+
)
4949
);
5050

5151
$this->assertQueryHasNoSelect(false, $dataTable->prepareCountQuery());
@@ -62,10 +62,10 @@ public function test_complex_query_can_ignore_select_in_count()
6262
'last_post_id' => DB::table('posts')
6363
->whereColumn('posts.user_id', 'users.id')
6464
->orderBy('created_at')
65-
->select('id')
65+
->select('id'),
6666
])
6767
->orderBy(DB::table('posts')->whereColumn('posts.user_id', 'users.id')->orderBy('created_at')->select('created_at')
68-
)
68+
)
6969
)->ignoreSelectsInCountQuery();
7070

7171
$this->assertQueryHasNoSelect(true, $dataTable->prepareCountQuery());

0 commit comments

Comments
 (0)