Skip to content

Commit c9ecc7c

Browse files
committed
minor symfony#18735 Prefer placing services before query parameters (MWJeff)
This PR was submitted for the 6.4 branch but it was merged into the 5.4 branch instead. Discussion ---------- Prefer placing services before query parameters Commits ------- 951fc9b Prefer placing services before query parameters
2 parents fd2d198 + 951fc9b commit c9ecc7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doctrine.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ and injected by the dependency injection container::
536536
class ProductController extends AbstractController
537537
{
538538
#[Route('/product/{id}', name: 'product_show')]
539-
public function show(int $id, ProductRepository $productRepository): Response
539+
public function show(ProductRepository $productRepository, int $id): Response
540540
{
541541
$product = $productRepository
542542
->find($id);

0 commit comments

Comments
 (0)