Skip to content

Commit e2621f7

Browse files
aarondfrancisgithub-actions[bot]
authored andcommitted
Fix code styling [ci skip]
1 parent 51b2256 commit e2621f7

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/FastPaginate.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ protected function paginate(string $paginationMethod, Closure $paginatorOutput)
9393
/**
9494
* @param $builder
9595
* @return array
96+
*
9697
* @throws QueryIncompatibleWithFastPagination
9798
*/
9899
public static function getInnerSelectColumns($builder)

src/QueryIncompatibleWithFastPagination.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@
77

88
class QueryIncompatibleWithFastPagination extends \Exception
99
{
10-
11-
}
10+
}

tests/Integration/BaseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ protected function setUp(): void
6363
DB::table('posts')->insert([[
6464
'name' => "Post $i",
6565
'user_id' => $i,
66-
'views' => 1
66+
'views' => 1,
6767
]]);
6868

6969
DB::table('notifications')->insert([[

tests/Integration/BuilderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ public function with_sum_has_the_correct_number_of_parameters()
360360
->withSum([
361361
'posts as views_count' => function ($query) {
362362
$query->where('views', '>', 0);
363-
}
363+
},
364364
], 'views')
365365
->orderBy('views_count')
366366
->fastPaginate();
@@ -369,7 +369,7 @@ public function with_sum_has_the_correct_number_of_parameters()
369369
->withSum([
370370
'posts as views_count' => function ($query) {
371371
$query->where('views', '>', 0);
372-
}
372+
},
373373
], 'views')
374374
->orderBy('views_count')
375375
->paginate();

0 commit comments

Comments
 (0)