Skip to content

Fix confusing example of type-hinting the Request object #17452

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

Merged
merged 1 commit into from
Nov 21, 2022

Conversation

theofidry
Copy link
Contributor

As far as I can see, this piece of doc is incorrect as $firstName and $lastName wouldn't be injected properly there and the piece of doc in question is not about those two parameters either.

As such I propose to remove them from the example to prevent any confusion.

@carsonbot carsonbot added this to the 4.4 milestone Nov 21, 2022
@javiereguiluz
Copy link
Member

Good catch, thanks Théo.

@javiereguiluz javiereguiluz merged commit 5ca91b6 into symfony:4.4 Nov 21, 2022
@theofidry theofidry deleted the patch-8 branch November 21, 2022 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants