We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdc1321 commit 6e8fd5fCopy full SHA for 6e8fd5f
doctrine.rst
@@ -691,15 +691,15 @@ will automatically fetch them::
691
* Fetch via primary key because {id} is in the route.
692
*/
693
#[Route('/product/{id}')]
694
- public function showByPk(Post $post): Response
+ public function showByPk(Product $product): Response
695
{
696
}
697
698
/**
699
* Perform a findOneBy() where the slug property matches {slug}.
700
701
#[Route('/product/{slug}')]
702
- public function showBySlug(Post $post): Response
+ public function showBySlug(Product $product): Response
703
704
705
0 commit comments