Skip to content
Prev Previous commit
Next Next commit
Update form_collections.rst
  • Loading branch information
francebenoit authored Nov 15, 2018
commit 8ca644447ae9caed8423ae5da079a041150fa927
2 changes: 1 addition & 1 deletion form/form_collections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ Optionnal helper to handle tag removal
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can optionnally reduce the code in your controller and make a reusable service to handle all your embedded form.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same typo in optionNaly and only one L


First create a helper
First create a helper::

// src\Helper
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/Helper/Helper.php

but we should find a better name than „Helper“

use Doctrine\Common\Collections\ArrayCollection;
Expand Down