Skip to content

Commit

Permalink
Fix code styling (ci skip)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondfrancis authored and github-actions[bot] committed Jul 7, 2022
1 parent cfe7a54 commit af468c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/BuilderMixin.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function fastPaginate()
// remain on the query that actually gets the records.
// (withoutEagerLoads not available on Laravel 8.)
->setEagerLoads([])
->paginate($perPage, ["*"], $pageName, $page);
->paginate($perPage, ['*'], $pageName, $page);

// Get the key values from the records on the current page without mutating them.
$ids = $paginator->getCollection()->map->getRawOriginal($key)->toArray();
Expand Down
1 change: 0 additions & 1 deletion tests/Integration/BuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ public function eager_loads_are_loaded_on_outer_query()
$this->assertEquals(1, $results->first()->posts->count());
}


/** @test */
public function selects_are_overwritten()
{
Expand Down

0 comments on commit af468c8

Please sign in to comment.