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 fd2d198 commit 951fc9bCopy full SHA for 951fc9b
doctrine.rst
@@ -536,7 +536,7 @@ and injected by the dependency injection container::
536
class ProductController extends AbstractController
537
{
538
#[Route('/product/{id}', name: 'product_show')]
539
- public function show(int $id, ProductRepository $productRepository): Response
+ public function show(ProductRepository $productRepository, int $id): Response
540
541
$product = $productRepository
542
->find($id);
0 commit comments