diff --git a/src/Illuminate/Database/Concerns/BuildsQueries.php b/src/Illuminate/Database/Concerns/BuildsQueries.php index f1ac9a8ebbde..0d45b0a6f6fc 100644 --- a/src/Illuminate/Database/Concerns/BuildsQueries.php +++ b/src/Illuminate/Database/Concerns/BuildsQueries.php @@ -127,7 +127,7 @@ public function chunkById($count, callable $callback, $column = null, $alias = n */ public function chunkByIdDesc($count, callable $callback, $column = null, $alias = null) { - return $this->orderedChunkById($count, $callback, $column, $alias, true); + return $this->orderedChunkById($count, $callback, $column, $alias, descending: true); } /**