Tweak pagination comment in Query class.

This commit is contained in:
Taylor Otwell 2011-07-21 06:36:36 -07:00
parent abd269aa78
commit 7ec88d3faa
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ public function paginate($per_page)
// 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);