You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed the package in my Lumen app ("laravel/lumen-framework": "5.4.*").
I got an error when i'm using the paginate method of the Query class.
As you can see, the signature of the paginate method public function paginate($per_page = 10, $page_name = "page", $page = null)
is not compatible with the one found in \vendor\illuminate\database\Eloquent\Builder.php
public function paginate($perPage = null, $columns = ['*'], $pageName = 'page', $page = null) Eloquent/Builder.php
so I had to modify the Model class in order to re-arrange correctly the parameters for paginate.
Is this a bug ??
The text was updated successfully, but these errors were encountered:
I installed the package in my Lumen app ("laravel/lumen-framework": "5.4.*").
I got an error when i'm using the paginate method of the Query class.
As you can see, the signature of the paginate method
public function paginate($per_page = 10, $page_name = "page", $page = null)
is not compatible with the one found in \vendor\illuminate\database\Eloquent\Builder.php
public function paginate($perPage = null, $columns = ['*'], $pageName = 'page', $page = null)
Eloquent/Builder.php
so I had to modify the Model class in order to re-arrange correctly the parameters for paginate.
Is this a bug ??
The text was updated successfully, but these errors were encountered: