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