Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVanderbist authored and actions-user committed Jul 5, 2021
1 parent cbe5336 commit 4e5257b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/Concerns/AppendsAttributesToResults.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Spatie\QueryBuilder\Concerns;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Pagination\Cursor;
use Illuminate\Support\Collection;
use Spatie\QueryBuilder\Exceptions\InvalidAppendQuery;

Expand All @@ -30,7 +29,7 @@ protected function addAppendsToResults(Collection $results)
});
}

protected function addAppendsToCursor( $results)
protected function addAppendsToCursor($results)
{
return $results->each(function (Model $result) {
return $result->append($this->request->appends()->toArray());
Expand Down
1 change: 0 additions & 1 deletion tests/AppendTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Illuminate\Database\Eloquent\Model;
use Illuminate\Http\Request;
use Illuminate\Pagination\LengthAwarePaginator;
use Illuminate\Support\Collection;
use Spatie\QueryBuilder\Exceptions\InvalidAppendQuery;
use Spatie\QueryBuilder\QueryBuilder;
Expand Down

0 comments on commit 4e5257b

Please sign in to comment.