Skip to content

Commit

Permalink
Update form_collections.rst
Browse files Browse the repository at this point in the history
removed new from new TaskType::class
  • Loading branch information
insekticid authored and xabbuh committed Feb 6, 2016
1 parent f7adcfa commit bb96dc6
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 bb96dc6

Please sign in to comment.