Skip to content

Commit

Permalink
minor #6213 Update form_collections.rst (insekticid)
Browse files Browse the repository at this point in the history
This PR was submitted for the 3.0 branch but it was merged into the 2.8 branch instead (closes #6213).

Discussion
----------

Update form_collections.rst

removed new from new TaskType::class

Commits
-------

bb96dc6 Update form_collections.rst
  • Loading branch information
xabbuh committed Feb 6, 2016
2 parents f7adcfa + bb96dc6 commit 8e8144f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/form/form_collections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ the relationship between the removed ``Tag`` and ``Task`` object.
$originalTags->add($tag);
}

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

$editForm->handleRequest($request);

Expand Down

0 comments on commit 8e8144f

Please sign in to comment.