Permalink
Browse files

Merge pull request #158 from terokaisti/patch-1

propel:form:generate creates an incompatible parameter type
  • Loading branch information...
2 parents fec399e + f1f949c commit bd4c79dd21f9cf5743753b5a31c066cb2c081c98 @willdurand willdurand committed May 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 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##
}

0 comments on commit bd4c79d

Please sign in to comment.