Skip to content

Commit 72f868e

Browse files
committed
Fix small typos in code example
1 parent 9d72de1 commit 72f868e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Turbo/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ automatically:
101101
*/
102102
public function newProduct(Request $request): Response
103103
{
104-
$form = this->createForm(ProductFormType::class, null, [
104+
$form = $this->createForm(ProductFormType::class, null, [
105105
'action' => $this->generateUrl('product_new'),
106106
]);
107107
$form->handleRequest($request);
@@ -110,7 +110,7 @@ public function newProduct(Request $request): Response
110110
// save...
111111
112112
return $this->redirectToRoute('product_list');
113-
);
113+
}
114114
115115
return $this->renderForm('product/new.html.twig', [
116116
'form' => $form,

0 commit comments

Comments
 (0)