Merge pull request #158 from terokaisti/patch-1
propel:form:generate creates an incompatible parameter type
This commit is contained in:
commit
bd4c79dd21
|
@ -3,14 +3,14 @@
|
||||||
namespace ##NAMESPACE##;
|
namespace ##NAMESPACE##;
|
||||||
|
|
||||||
use Symfony\Component\Form\AbstractType;
|
use Symfony\Component\Form\AbstractType;
|
||||||
use Symfony\Component\Form\FormBuilder;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
|
|
||||||
class ##CLASS## extends AbstractType
|
class ##CLASS## extends AbstractType
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function buildForm(FormBuilder $builder, array $options)
|
public function buildForm(FormBuilderInterface $builder, array $options)
|
||||||
{##BUILD_CODE##
|
{##BUILD_CODE##
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue