Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

Cast $perPage to int value #48

Merged
merged 2 commits into from
Sep 22, 2020
Merged

Conversation

jwohlfert23
Copy link
Contributor

Meilisearch will not accept a string here as I found out with my app :). If you pass a numeric string value to the algolia driver, or just to laravel's default paginator, they both work. This will keep this behavior consistent when using this driver.

Meilisearch will not accept a string here as I found out with my app :).  If you pass a numeric string value to the algolia driver, or just to laravel's default paginator, they both work.  This will keep this behavior consistent when using this driver.
@shokme
Copy link
Collaborator

shokme commented Sep 22, 2020

Hi @jwohlfert23
Nice catch !

Could you just run a composer lint:fix I think a space is missing between ) and $.

@jwohlfert23
Copy link
Contributor Author

Appreciate the quick response! Just made the change. Looks like checks passed.

@shokme shokme merged commit c4b44cd into meilisearch:master Sep 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants