@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\QueryBuilder\Concerns; |
4 | 4 | |
5 | -use Spatie\QueryBuilder\Search; |
|
6 | 5 | use Illuminate\Support\Collection; |
7 | 6 | use Spatie\QueryBuilder\Exceptions\InvalidSearchQuery; |
7 | +use Spatie\QueryBuilder\Search; |
|
8 | 8 | |
9 | 9 | trait SearchesQuery |
10 | 10 | { |
@@ -2,15 +2,15 @@ |
||
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\Concerns\SearchesQuery; |
|
9 | -use Spatie\QueryBuilder\Concerns\SortsQuery; |
|
10 | -use Spatie\QueryBuilder\Concerns\FiltersQuery; |
|
11 | 8 | use Spatie\QueryBuilder\Concerns\AddsFieldsToQuery; |
12 | 9 | use Spatie\QueryBuilder\Concerns\AddsIncludesToQuery; |
13 | 10 | use Spatie\QueryBuilder\Concerns\AppendsAttributesToResults; |
11 | +use Spatie\QueryBuilder\Concerns\FiltersQuery; |
|
12 | +use Spatie\QueryBuilder\Concerns\SearchesQuery; |
|
13 | +use Spatie\QueryBuilder\Concerns\SortsQuery; |
|
14 | 14 | |
15 | 15 | class QueryBuilder extends Builder |
16 | 16 | { |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\QueryBuilder\Searches; |
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 | abstract class SearchesBase implements Search |
10 | 10 | { |