Add image to ShippingMethod


#1

when I add an image a, I have this error however in the other entity, I could add without problem

Type error: Too few arguments to function Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType::__construct(), 0 passed in C:\wamp64\www\pc\vendor\symfony\symfony\src\Symfony\Component\Form\FormRegistry.php on line 92 and at least 1 expected

service.yml
app.form.extension.type.shipping_method: class: AppBundle\Form\Extension\ShippingMethodTypeExtension tags: - { name: form.type_extension, extended_type: Sylius\Bundle\ShippingBundle\Form\Type\ShippingMethodType }
app.form.type.shipping_method_image: class: AppBundle\Form\Admin\ImagesShippingMethodType tags: - { name: form.type } arguments: ['%app.model.shipping_method_image.class%']