Skip to content

Commit b1eb34a

Browse files
Evgeniy Guseletovweaverryan
Evgeniy Guseletov
authored andcommitted
Fix CS for cookbook/form/form_collections
1 parent 4c8a4fa commit b1eb34a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cookbook/form/form_collections.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,9 @@ the relationship between the removed ``Tag`` and ``Task`` object.
599599
$originalTags = array();
600600

601601
// Create an array of the current Tag objects in the database
602-
foreach ($task->getTags() as $tag) $originalTags[] = $tag;
602+
foreach ($task->getTags() as $tag) {
603+
$originalTags[] = $tag;
604+
}
603605

604606
$editForm = $this->createForm(new TaskType(), $task);
605607

0 commit comments

Comments
 (0)