Commit c979068
committed
minor #17200 Inappropriate usage of Parameter Conversion (githubfromgui)
This PR was merged into the 4.4 branch.
Discussion
----------
Inappropriate usage of Parameter Conversion
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`.
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/releases for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `6.x` for features of unreleased versions).
-->
Commits
-------
e35ee1a Inappropriate usage of Parameter Conversion1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1180 | 1180 | | |
1181 | 1181 | | |
1182 | 1182 | | |
1183 | | - | |
| 1183 | + | |
1184 | 1184 | | |
1185 | 1185 | | |
1186 | 1186 | | |
| |||
0 commit comments