File tree Expand file tree Collapse file tree 4 files changed +8
-21
lines changed
Expand file tree Collapse file tree 4 files changed +8
-21
lines changed Original file line number Diff line number Diff line change 55
66namespace Hammerstone \FastPaginate ;
77
8- use Illuminate \Pagination \Paginator ;
9- use Illuminate \Database \Query \Expression ;
10- use Illuminate \Pagination \LengthAwarePaginator ;
11-
128class BuilderMixin
139{
14- public function simpleFastPaginate () {
10+ public function simpleFastPaginate ()
11+ {
1512 return (new FastPaginate ())->simpleFastPaginate ();
1613 }
1714
Original file line number Diff line number Diff line change 66namespace Hammerstone \FastPaginate ;
77
88use Closure ;
9- use Illuminate \Database \Eloquent \Builder ;
10- use Illuminate \Support \Collection ;
11- use Illuminate \Pagination \Paginator ;
129use Illuminate \Database \Query \Expression ;
13- use Illuminate \Pagination \LengthAwarePaginator ;
10+ use Illuminate \Pagination \Paginator ;
1411
1512class FastPaginate
1613{
@@ -25,7 +22,6 @@ public function fastPaginate()
2522 $ paginator ->getOptions ()
2623 );
2724 });
28-
2925 }
3026
3127 public function simpleFastPaginate ()
@@ -132,6 +128,4 @@ public static function getInnerSelectColumns($builder)
132128 ->values ()
133129 ->toArray ();
134130 }
135-
136-
137131}
Original file line number Diff line number Diff line change @@ -41,5 +41,4 @@ public function simpleFastPaginate()
4141 });
4242 };
4343 }
44-
4544}
Original file line number Diff line number Diff line change 55
66namespace Hammerstone \Sidecar \Tests \Integration ;
77
8- use Illuminate \Pagination \Paginator ;
9- use Illuminate \Database \QueryException ;
10- use Illuminate \Pagination \LengthAwarePaginator ;
8+ use Hammerstone \FastPaginate \Tests \Support \NotificationStringKey ;
119use Hammerstone \FastPaginate \Tests \Support \User ;
12- use Hammerstone \FastPaginate \Tests \Support \UserMutatedId ;
1310use Hammerstone \FastPaginate \Tests \Support \UserCustomPage ;
1411use Hammerstone \FastPaginate \Tests \Support \UserCustomTable ;
15- use Hammerstone \FastPaginate \Tests \Support \NotificationStringKey ;
12+ use Hammerstone \FastPaginate \Tests \Support \UserMutatedId ;
13+ use Illuminate \Database \QueryException ;
14+ use Illuminate \Pagination \LengthAwarePaginator ;
15+ use Illuminate \Pagination \Paginator ;
1616
1717class BuilderTest extends BaseTest
1818{
@@ -292,8 +292,6 @@ public function basic_simple_test_page_two()
292292 );
293293 }
294294
295-
296-
297295 /** @test */
298296 public function basic_simple_test_from_relation ()
299297 {
@@ -311,5 +309,4 @@ public function basic_simple_test_from_relation()
311309 $ queries [2 ]['query ' ]
312310 );
313311 }
314-
315312}
You can’t perform that action at this time.
0 commit comments