@@ -200,7 +200,7 @@ use the ``createForm()`` helper (otherwise, use the ``create()`` method of the
200200
201201 // src/Controller/TaskController.php
202202 namespace App\Controller;
203-
203+
204204 use App\Form\Type\TaskType;
205205 // ...
206206
@@ -232,7 +232,7 @@ the ``data_class`` option by adding the following to your form type class::
232232
233233 // src/Form/Type/TaskType.php
234234 namespace App\Form\Type;
235-
235+
236236 use App\Entity\Task;
237237 use Symfony\Component\OptionsResolver\OptionsResolver;
238238 // ...
@@ -524,7 +524,7 @@ object.
524524
525525 // src/Entity/Task.php
526526 namespace App\Entity;
527-
527+
528528 use Symfony\Component\Validator\Constraints\NotBlank;
529529 use Symfony\Component\Validator\Constraints\Type;
530530 use Symfony\Component\Validator\Mapping\ClassMetadata;
@@ -562,7 +562,7 @@ argument of ``createForm()``::
562562
563563 // src/Controller/TaskController.php
564564 namespace App\Controller;
565-
565+
566566 use App\Form\Type\TaskType;
567567 // ...
568568
@@ -588,7 +588,7 @@ options they accept using the ``configureOptions()`` method::
588588
589589 // src/Form/Type/TaskType.php
590590 namespace App\Form\Type;
591-
591+
592592 use Symfony\Component\OptionsResolver\OptionsResolver;
593593 // ...
594594
@@ -769,13 +769,13 @@ method::
769769
770770 // src/Controller/TaskController.php
771771 namespace App\Controller;
772-
772+
773773 use App\Form\TaskType;
774774 use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
775775
776776 class TaskController extends AbstractController
777777 {
778- public function newAction ()
778+ public function new ()
779779 {
780780 $task = ...;
781781 $form = $this->get('form.factory')->createNamed('my_name', TaskType::class, $task);
0 commit comments