Skip to content

Commit 40fa605

Browse files
committed
Refactoring method modifier to private
1 parent 195ded5 commit 40fa605

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Database/Query/Builder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,7 +1584,7 @@ public function chunkById(int $count, callable $callback, string|null $column =
15841584
* @param string $column
15851585
* @return $this
15861586
*/
1587-
public function forPageAfterId(int $perPage = 15, int|null $lastId = 0, string $column = 'id'): Builder
1587+
private function forPageAfterId(int $perPage = 15, int|null $lastId = 0, string $column = 'id'): Builder
15881588
{
15891589
$this->orders = $this->removeExistingOrdersFor($column);
15901590

@@ -1602,7 +1602,7 @@ public function forPageAfterId(int $perPage = 15, int|null $lastId = 0, string $
16021602
* @param string $column
16031603
* @return array
16041604
*/
1605-
protected function removeExistingOrdersFor(string $column): array
1605+
private function removeExistingOrdersFor(string $column): array
16061606
{
16071607
return Collection::make($this->orders)
16081608
->reject(function ($order) use ($column) {

0 commit comments

Comments
 (0)