Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for retrieving input values as integers to requests.md #9894

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

benjibee
Copy link
Contributor

Getting the per_page input from a request and passing it to Builder's paginate() doesn't make PHPStan happy, nor does casting the result of $request->input(), which is mixed, to an integer. This method is quite useful but doesn't seem to be documented.

@taylorotwell taylorotwell merged commit 4fb89ea into laravel:11.x Sep 13, 2024
@benjibee benjibee deleted the patch-1 branch September 13, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants