Completed
Push — master ( 02071e...21a8f2 )
by Marco
01:30 queued 11s
created
src/CursorPaginationServiceProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Illuminate\Database\Eloquent\Builder as EloquentBuilder;
7 7
 use Illuminate\Database\Query\Builder as QueryBuilder;
8 8
 use Illuminate\Support\Arr;
9
-use Illuminate\Support\Collection;
10 9
 use Illuminate\Support\ServiceProvider;
11 10
 
12 11
 class CursorPaginationServiceProvider extends ServiceProvider
Please login to merge, or discard this patch.
src/Directives/PaginateDirective.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace DutchCodingCompany\CursorPagination\Directives;
4 4
 
5
+use DutchCodingCompany\CursorPagination\Pagination\CursorArgs;
6
+use DutchCodingCompany\CursorPagination\Pagination\PaginationManipulator;
5 7
 use GraphQL\Language\AST\FieldDefinitionNode;
6 8
 use GraphQL\Language\AST\ObjectTypeDefinitionNode;
7 9
 use GraphQL\Type\Definition\ResolveInfo;
8
-use DutchCodingCompany\CursorPagination\Pagination\CursorArgs;
9
-use DutchCodingCompany\CursorPagination\Pagination\PaginationManipulator;
10 10
 use Nuwave\Lighthouse\Pagination\PaginationArgs;
11 11
 use Nuwave\Lighthouse\Schema\AST\DocumentAST;
12 12
 use Nuwave\Lighthouse\Schema\Values\FieldValue;
Please login to merge, or discard this patch.
src/Pagination/CursorArgs.php 1 patch
Unused Use Statements   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,12 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace DutchCodingCompany\CursorPagination\Pagination;
4 4
 
5
-use GraphQL\Error\Error;
6
-use Illuminate\Contracts\Pagination\LengthAwarePaginator;
7
-use Illuminate\Support\Arr;
8
-use Laravel\Scout\Builder as ScoutBuilder;
9 5
 use DutchCodingCompany\CursorPagination\Cursor;
10 6
 use DutchCodingCompany\CursorPagination\CursorPaginator;
7
+use GraphQL\Error\Error;
8
+use Laravel\Scout\Builder as ScoutBuilder;
11 9
 use Nuwave\Lighthouse\Pagination\PaginationArgs;
12 10
 use Nuwave\Lighthouse\Pagination\PaginationType;
13 11
 
Please login to merge, or discard this patch.
src/Pagination/ConnectionField.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace DutchCodingCompany\CursorPagination\Pagination;
4 4
 
5
+use DutchCodingCompany\CursorPagination\CursorPaginator;
5 6
 use GraphQL\Type\Definition\ResolveInfo;
6 7
 use Illuminate\Support\Collection;
7
-use DutchCodingCompany\CursorPagination\CursorPaginator;
8
-use Nuwave\Lighthouse\Pagination\Cursor;
9 8
 use Nuwave\Lighthouse\Support\Contracts\GraphQLContext;
10 9
 
11 10
 class ConnectionField
Please login to merge, or discard this patch.