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

Clarify that \Illuminate\Http\Request::replace replace all input values #51123

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

treyssatvincent
Copy link
Contributor

@treyssatvincent treyssatvincent commented Apr 18, 2024

By adding "values" it clarify that this method replaces the current input values by a new set.
Otherwise it can be understood as a way to replace one value on the request.

Here's \Symfony\Component\HttpFoundation\InputBag::replace description:

Replaces the current input values by a new set.

By adding "values" it clarify that this method replaces the current input values by a new set.
@taylorotwell taylorotwell merged commit 22f4864 into laravel:11.x Apr 18, 2024
30 checks passed
@treyssatvincent treyssatvincent deleted the patch-1 branch April 19, 2024 08:31
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.

None yet

2 participants