@@ -2,14 +2,14 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\QueryBuilder; |
| 4 | 4 | |
| 5 | +use Illuminate\Database\Eloquent\Builder; |
|
| 5 | 6 | use Illuminate\Http\Request; |
| 6 | 7 | use Illuminate\Support\Collection; |
| 7 | -use Illuminate\Database\Eloquent\Builder; |
|
| 8 | -use Spatie\QueryBuilder\Exceptions\InvalidSortQuery; |
|
| 9 | -use Spatie\QueryBuilder\Exceptions\InvalidFieldQuery; |
|
| 10 | 8 | use Spatie\QueryBuilder\Exceptions\InvalidAppendQuery; |
| 9 | +use Spatie\QueryBuilder\Exceptions\InvalidFieldQuery; |
|
| 11 | 10 | use Spatie\QueryBuilder\Exceptions\InvalidFilterQuery; |
| 12 | 11 | use Spatie\QueryBuilder\Exceptions\InvalidIncludeQuery; |
| 12 | +use Spatie\QueryBuilder\Exceptions\InvalidSortQuery; |
|
| 13 | 13 | |
| 14 | 14 | class QueryBuilder extends Builder |
| 15 | 15 | { |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\QueryBuilder\Filters; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Str; |
|
| 6 | -use Illuminate\Support\Collection; |
|
| 7 | 5 | use Illuminate\Database\Eloquent\Builder; |
| 6 | +use Illuminate\Support\Collection; |
|
| 7 | +use Illuminate\Support\Str; |
|
| 8 | 8 | |
| 9 | 9 | class FiltersExact implements Filter |
| 10 | 10 | { |