sonata-project/SonataMediaBundle — pull request #166 by iljaSuhinin (2012-06-02 18:35:53+00:00)
Title: Pr form bc fix

This pull request make Sonata admin workable again in Symfony 2.1.
(https://github.com/symfony/symfony/blob/master/UPGRADE-2.1.md#bc-breaks-in-form-types-and-options)
fixed problems:
Declaration of Sonata\MediaBundle\Form\Type\MediaType::buildForm() must be compatible with that of Symfony\Component\Form\FormTypeInterface::buildForm()

Declaration of Sonata\MediaBundle\Form\Type\MediaType::getParent() must be compatible with that of Symfony\Component\Form\FormTypeInterface::getParent()