Skip to content

Inappropriate usage of Parameter Conversion #17200

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
Sep 2, 2022

Conversation

githubfromgui
Copy link
Contributor

Under the section Route Groups and Prefixes, the action show seems to make usage of Parameter Conversion technique, though there is no reference for the Post class in that code snippet.

I would suggest to replace the parameter Post $post to string $slug , matching the URL parameter defined above the method show.

Under the section `Route Groups and Prefixes`, the action `show` seems to make usage of `Parameter Conversion` technique, though there is no reference for the `Post` class in that code snippet.

I would suggest to replace the parameter `Post $post` to `string $slug` , matching the URL parameter defined above the method `show`.
@carsonbot carsonbot added this to the 4.4 milestone Aug 17, 2022
@javiereguiluz
Copy link
Member

Thank you Guilherme.

@javiereguiluz javiereguiluz merged commit c979068 into symfony:4.4 Sep 2, 2022
@githubfromgui githubfromgui deleted the patch-2 branch September 5, 2022 18:38
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