Skip to content

Commit 633b2e1

Browse files
committed
minor #19158 Update doctrine.rst (BooleanType)
This PR was merged into the 6.3 branch. Discussion ---------- Update doctrine.rst I think the code is about the product and the `Product` is better suited here. Commits ------- 6e8fd5f Update doctrine.rst
2 parents fdc1321 + 6e8fd5f commit 633b2e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doctrine.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,15 +691,15 @@ will automatically fetch them::
691691
* Fetch via primary key because {id} is in the route.
692692
*/
693693
#[Route('/product/{id}')]
694-
public function showByPk(Post $post): Response
694+
public function showByPk(Product $product): Response
695695
{
696696
}
697697

698698
/**
699699
* Perform a findOneBy() where the slug property matches {slug}.
700700
*/
701701
#[Route('/product/{slug}')]
702-
public function showBySlug(Post $post): Response
702+
public function showBySlug(Product $product): Response
703703
{
704704
}
705705

0 commit comments

Comments
 (0)