Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
staudenmeir committed Sep 29, 2024
1 parent c1cfbaf commit 1b7445b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/Eloquent/Relations/Traits/ExecutesQueries.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ public function paginate($perPage = null, $columns = ['*'], $pageName = 'page',

$paginator = $this->query->paginate($perPage, $columns, $pageName, $page, $total);

$this->hydrateIntermediateRelations($paginator->items());
$this->hydrateIntermediateRelations(
$paginator->items()
);

return $paginator;
}
Expand All @@ -92,7 +94,9 @@ public function simplePaginate($perPage = null, $columns = ['*'], $pageName = 'p

$paginator = $this->query->simplePaginate($perPage, $columns, $pageName, $page);

$this->hydrateIntermediateRelations($paginator->items());
$this->hydrateIntermediateRelations(
$paginator->items()
);

return $paginator;
}
Expand All @@ -117,7 +121,9 @@ public function cursorPaginate($perPage = null, $columns = ['*'], $cursorName =

$paginator = $this->query->cursorPaginate($perPage, $columns, $cursorName, $cursor);

$this->hydrateIntermediateRelations($paginator->items());
$this->hydrateIntermediateRelations(
$paginator->items()
);

return $paginator;
}
Expand Down

0 comments on commit 1b7445b

Please sign in to comment.