diff --git a/src/Turbo/README.md b/src/Turbo/README.md index dd60bd6a46d..36eec940b0a 100644 --- a/src/Turbo/README.md +++ b/src/Turbo/README.md @@ -96,9 +96,7 @@ If you're using Symfony 5.3, the new `renderForm()` shortcut takes care of this automatically: ```php -/** - * #[Route('/product/new', name: 'product_new')] - */ +#[Route('/product/new', name: 'product_new')] public function newProduct(Request $request): Response { $form = $this->createForm(ProductFormType::class, null, [ @@ -121,9 +119,7 @@ public function newProduct(Request $request): Response If you're _not_ using the `renderForm()` shortcut, adjust your code manually: ```diff -/** - * #[Route('/product/new')] - */ +#[Route('/product/new')] public function newProduct(Request $request): Response { $form = $this->createForm(ProductFormType::class);