Closed antiseptikk closed 4 years ago
Thank you for your contribution. The reason why the old method still exists is for backwards compatibility. And I have a question about the changes you are suggesting:
Is iterable the type on the method in the AbstractType
because if not we might get problems when the type hint in Symfony gets official.
Hi @mamazu, good question ! In Symfony i don't know, but i think it's a logical choice. In the Sylius documentation the method is typed as follows https://docs.sylius.com/en/latest/customization/form.html
In the Symfony documentation it also says iterable
. Then I will accept your pull request.
Fix #51