From 1b7445bd29c7ad5a463a7d82886b5a5f0dcfe05d Mon Sep 17 00:00:00 2001 From: Jonas Staudenmeir Date: Sun, 29 Sep 2024 13:32:01 +0200 Subject: [PATCH] Formatting --- src/Eloquent/Relations/Traits/ExecutesQueries.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/Eloquent/Relations/Traits/ExecutesQueries.php b/src/Eloquent/Relations/Traits/ExecutesQueries.php index a24bb00..6db7114 100644 --- a/src/Eloquent/Relations/Traits/ExecutesQueries.php +++ b/src/Eloquent/Relations/Traits/ExecutesQueries.php @@ -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; } @@ -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; } @@ -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; }