Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Nielsvanpach authored and github-actions[bot] committed Nov 17, 2023
1 parent 3e1582d commit 6f9c548
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/QueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use Spatie\QueryBuilder\Concerns\AddsIncludesToQuery;
use Spatie\QueryBuilder\Concerns\FiltersQuery;
use Spatie\QueryBuilder\Concerns\SortsQuery;
use Spatie\QueryBuilder\Exceptions\InvalidSubject;

/**
* @mixin EloquentBuilder
Expand All @@ -29,8 +28,8 @@ class QueryBuilder implements ArrayAccess

public function __construct(
protected EloquentBuilder|Relation $subject,
?Request $request = null)
{
?Request $request = null
) {
$this->request = $request
? QueryBuilderRequest::fromRequest($request)
: app(QueryBuilderRequest::class);
Expand Down

0 comments on commit 6f9c548

Please sign in to comment.