diff --git a/forms.rst b/forms.rst index 008c60a66c6..6ba745dae61 100644 --- a/forms.rst +++ b/forms.rst @@ -392,9 +392,10 @@ of an object. To make this happen, the submitted data from the user must be written into the form object:: // src/Controller/TaskController.php - // ... + use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; + use Symfony\Component\HttpFoundation\Response; class TaskController extends AbstractController {