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##;
|
||||
|
||||
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##
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue