tweaked method signature to paginator links method.

This commit is contained in:
Taylor Otwell
2011-07-21 21:54:54 -05:00
parent d0b160c329
commit 49cd851f54

View File

@@ -80,11 +80,11 @@ class Paginator {
/** /**
* Create the HTML pagination links. * Create the HTML pagination links.
* *
* @param string $language
* @param int $adjacent * @param int $adjacent
* @param string $language
* @return string * @return string
*/ */
public function links($language = null, $adjacent = 3) public function links($adjacent = 3, $language = null)
{ {
if ($this->last_page() > 1) if ($this->last_page() > 1)
{ {