Skip to content

Not working with symfony 2.4 #15

@jimmy6262

Description

@jimmy6262

I am trying to make a form with the mandango bundle but it does not work in symfony 2.4.

FatalErrorException: Compile Error: Declaration of
Mandango\MandangoBundle\Form\Type\MandangoDocumentType::buildForm() must
be compatible with
Symfony\Component\Form\FormTypeInterface::buildForm(Symfony\Component\Form\FormBuilderInterface $builder, array $options) in
/path/to/project/vendor/mandango/mandango-bundle/Mandango/MandangoBundle/Form/Type/MandangoDocumentType.php line 104

When i look to the code, it still use
public function buildForm(FormBuilder $builder, array $options)

Can there be a fix for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions