From 8b3fc1b099157ceed83c1beaa26e3dc3f2c2976c Mon Sep 17 00:00:00 2001 From: Maxime Morlet Date: Thu, 20 Apr 2023 00:18:29 +0200 Subject: [PATCH] Update forms.rst Typo! --- forms.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms.rst b/forms.rst index 47ccafbff41..9a673dc4fc6 100644 --- a/forms.rst +++ b/forms.rst @@ -284,7 +284,7 @@ transform the form into a *form view* instance. .. deprecated:: 6.2 Prior to Symfony 6.2, you had to use ``$this->render(..., ['form' => $form->createView()])`` - or the ``renderForm()`` method to render to form. The ``renderForm()`` + or the ``renderForm()`` method to render the form. The ``renderForm()`` method is deprecated in favor of directly passing the ``FormInterface`` instance to ``render()``.