Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Merged
merged 1 commit into from

3 participants

@terokaisti

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
@travisbot

This pull request passes (merged f1f949c into fec399e).

@willdurand
Owner

Thanks!

@willdurand willdurand merged commit bd4c79d into propelorm:1.1
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
View
4 Resources/skeleton/FormType.php
@@ -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.