@@ -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 | { |
@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\QueryBuilder; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Str; |
|
| 6 | 5 | use Illuminate\Http\Request; |
| 7 | 6 | use Illuminate\Support\Collection; |
| 8 | 7 | use Illuminate\Support\ServiceProvider; |
| 8 | +use Illuminate\Support\Str; |
|
| 9 | 9 | |
| 10 | 10 | class QueryBuilderServiceProvider extends ServiceProvider |
| 11 | 11 | { |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\QueryBuilder\Concerns; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Str; |
|
| 6 | 5 | use Illuminate\Support\Collection; |
| 6 | +use Illuminate\Support\Str; |
|
| 7 | 7 | use Spatie\QueryBuilder\Exceptions\InvalidFieldQuery; |
| 8 | 8 | |
| 9 | 9 | trait AddsFieldsToQuery |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\QueryBuilder\Concerns; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Str; |
|
| 6 | 5 | use Illuminate\Support\Collection; |
| 6 | +use Illuminate\Support\Str; |
|
| 7 | 7 | use Spatie\QueryBuilder\Exceptions\InvalidIncludeQuery; |
| 8 | 8 | |
| 9 | 9 | trait AddsIncludesToQuery |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\QueryBuilder\Concerns; |
| 4 | 4 | |
| 5 | -use Spatie\QueryBuilder\Filter; |
|
| 6 | 5 | use Illuminate\Support\Collection; |
| 7 | 6 | use Spatie\QueryBuilder\Exceptions\InvalidFilterQuery; |
| 7 | +use Spatie\QueryBuilder\Filter; |
|
| 8 | 8 | |
| 9 | 9 | trait FiltersQuery |
| 10 | 10 | { |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\QueryBuilder\Concerns; |
| 4 | 4 | |
| 5 | -use Spatie\QueryBuilder\Sort; |
|
| 6 | 5 | use Illuminate\Support\Collection; |
| 7 | 6 | use Spatie\QueryBuilder\Exceptions\InvalidSortQuery; |
| 7 | +use Spatie\QueryBuilder\Sort; |
|
| 8 | 8 | |
| 9 | 9 | trait SortsQuery |
| 10 | 10 | { |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\QueryBuilder; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Str; |
|
| 6 | 5 | use Illuminate\Http\Request; |
| 7 | 6 | use Illuminate\Support\Collection; |
| 7 | +use Illuminate\Support\Str; |
|
| 8 | 8 | |
| 9 | 9 | class QueryBuilderRequest extends Request |
| 10 | 10 | { |
@@ -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,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 | { |