Commit 7ec88d3f authored by Taylor Otwell's avatar Taylor Otwell

Tweak pagination comment in Query class.

parent abd269aa
......@@ -460,7 +460,7 @@ class Query {
// Reset the SELECT clause so we can execute another query to get the results.
$this->select = null;
// Get the current page from the Paginator. The Paginator class will validate the page number.
// Get the current page. The Paginator class will validate the page number.
$page = \System\Paginator::page(ceil($total / $per_page));
return new \System\Paginator($this->skip(($page - 1) * $per_page)->take($per_page)->get(), $total, $per_page);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment