tweaked method signature to paginator links method.
This commit is contained in:
parent
d0b160c329
commit
49cd851f54
|
@ -80,11 +80,11 @@ public static function page($total, $per_page)
|
||||||
/**
|
/**
|
||||||
* 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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue