Refactoring Paginator.
This commit is contained in:
parent
9a36124b9e
commit
b29ba692ce
|
|
@ -50,7 +50,6 @@ public function __construct($results, $total, $per_page)
|
||||||
$this->per_page = $per_page;
|
$this->per_page = $per_page;
|
||||||
$this->results = $results;
|
$this->results = $results;
|
||||||
$this->total = $total;
|
$this->total = $total;
|
||||||
|
|
||||||
$this->page = static::page($this->last_page());
|
$this->page = static::page($this->last_page());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue