Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

propel:form:generate creates an incompatible parameter type #158

Merged
merged 1 commit into from

3 participants

Tero Kaisti Don't Add Me To Your Organization a.k.a The Travis Bot William Durand
Tero Kaisti

Fatal error: Declaration of Company\ProjectBundle\Form\Type\UserType::buildForm() must be compatible with that of Symfony\Component\Form\FormTypeInterface::buildForm() in ...

Tero Kaisti Fatal error: Declaration of Company\ProjectBundle\Form\Type\UserType:…
…:buildForm() must be compatible with that of Symfony\Component\Form\FormTypeInterface::buildForm() in ...
f1f949c
Don't Add Me To Your Organization a.k.a The Travis Bot

This pull request passes (merged f1f949c into fec399e).

William Durand
Owner

Thanks!

William Durand willdurand merged commit bd4c79d into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 25, 2012
  1. Fatal error: Declaration of Company\ProjectBundle\Form\Type\UserType:…

    Tero Kaisti authored
    …:buildForm() must be compatible with that of Symfony\Component\Form\FormTypeInterface::buildForm() in ...
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 Resources/skeleton/FormType.php
4 Resources/skeleton/FormType.php
View
@@ -3,14 +3,14 @@
namespace ##NAMESPACE##;
use Symfony\Component\Form\AbstractType;
-use Symfony\Component\Form\FormBuilder;
+use Symfony\Component\Form\FormBuilderInterface;
class ##CLASS## extends AbstractType
{
/**
* {@inheritdoc}
*/
- public function buildForm(FormBuilder $builder, array $options)
+ public function buildForm(FormBuilderInterface $builder, array $options)
{##BUILD_CODE##
}
Something went wrong with that request. Please try again.