more pagination formatting

This commit is contained in:
Denis Duliçi 2022-07-19 10:37:02 +03:00
parent 7e8b395dc5
commit c727806ecd

View File

@ -37,7 +37,7 @@ abstract class Controller extends BaseController
*
* @return LengthAwarePaginator
*/
public function paginate($items, $perPage = 15, $page = null, $options = [])
public function paginate($items, $perPage = null, $page = null, $options = [])
{
$perPage = $perPage ?: (int) request('limit', setting('default.list_limit', '25'));