We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c8a4fa commit b1eb34aCopy full SHA for b1eb34a
cookbook/form/form_collections.rst
@@ -599,7 +599,9 @@ the relationship between the removed ``Tag`` and ``Task`` object.
599
$originalTags = array();
600
601
// Create an array of the current Tag objects in the database
602
- foreach ($task->getTags() as $tag) $originalTags[] = $tag;
+ foreach ($task->getTags() as $tag) {
603
+ $originalTags[] = $tag;
604
+ }
605
606
$editForm = $this->createForm(new TaskType(), $task);
607
0 commit comments