@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use Illuminate\Support\Collection; |
|
| 4 | 3 | use Illuminate\Pagination\LengthAwarePaginator; |
| 4 | +use Illuminate\Support\Collection; |
|
| 5 | 5 | |
| 6 | 6 | /* |
| 7 | 7 | * Paginate the given collection |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use Illuminate\Support\Collection; |
|
| 4 | 3 | use Illuminate\Pagination\Paginator; |
| 4 | +use Illuminate\Support\Collection; |
|
| 5 | 5 | |
| 6 | 6 | /* |
| 7 | 7 | * Paginate the collection into a simple paginator |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | use Amp\Parallel\Worker\Pool; |
| 4 | 4 | use function Amp\Promise\wait; |
| 5 | -use Illuminate\Support\Collection; |
|
| 6 | 5 | use Amp\Parallel\Worker\DefaultPool; |
| 6 | +use Illuminate\Support\Collection; |
|
| 7 | 7 | use function Amp\ParallelFunctions\parallelMap; |
| 8 | 8 | |
| 9 | 9 | /* |