Skip to content

Commit d57451c

Browse files
authored
fix: missing use statements in controller example
1 parent 3ae4fec commit d57451c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

forms.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -392,9 +392,11 @@ of an object. To make this happen, the submitted data from the user must be
392392
written into the form object::
393393

394394
// src/Controller/TaskController.php
395-
395+
396396
// ...
397+
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
397398
use Symfony\Component\HttpFoundation\Request;
399+
use Symfony\Component\HttpFoundation\Response;
398400

399401
class TaskController extends AbstractController
400402
{

0 commit comments

Comments
 (0)