From 40fa6054aa18e78509a49fe0b756e52e412cf6f5 Mon Sep 17 00:00:00 2001 From: abdulhp Date: Fri, 22 Sep 2023 11:20:51 +0700 Subject: [PATCH] Refactoring method modifier to `private` --- src/Illuminate/Database/Query/Builder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Database/Query/Builder.php b/src/Illuminate/Database/Query/Builder.php index 2f6ad663..695f30f4 100755 --- a/src/Illuminate/Database/Query/Builder.php +++ b/src/Illuminate/Database/Query/Builder.php @@ -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); @@ -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) {