Skip to content

Commit

Permalink
Refactoring method modifier to private
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulhp committed Sep 22, 2023
1 parent 195ded5 commit 40fa605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Database/Query/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1584,7 +1584,7 @@ public function chunkById(int $count, callable $callback, string|null $column =
* @param string $column
* @return $this
*/
public function forPageAfterId(int $perPage = 15, int|null $lastId = 0, string $column = 'id'): Builder
private function forPageAfterId(int $perPage = 15, int|null $lastId = 0, string $column = 'id'): Builder
{
$this->orders = $this->removeExistingOrdersFor($column);

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

0 comments on commit 40fa605

Please sign in to comment.