Skip to content

Commit 8e8144f

Browse files
committed
minor symfony#6213 Update form_collections.rst (insekticid)
This PR was submitted for the 3.0 branch but it was merged into the 2.8 branch instead (closes symfony#6213). Discussion ---------- Update form_collections.rst removed new from new TaskType::class Commits ------- bb96dc6 Update form_collections.rst
2 parents f7adcfa + bb96dc6 commit 8e8144f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cookbook/form/form_collections.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ the relationship between the removed ``Tag`` and ``Task`` object.
689689
$originalTags->add($tag);
690690
}
691691

692-
$editForm = $this->createForm(new TaskType::class, $task);
692+
$editForm = $this->createForm(TaskType::class, $task);
693693

694694
$editForm->handleRequest($request);
695695

0 commit comments

Comments
 (0)