Skip to content

Commit

Permalink
Fatal error: Declaration of Company\ProjectBundle\Form\Type\UserType:…
Browse files Browse the repository at this point in the history
…:buildForm() must be compatible with that of Symfony\Component\Form\FormTypeInterface::buildForm() in ...
  • Loading branch information
Tero Kaisti committed May 25, 2012
1 parent fec399e commit f1f949c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/skeleton/FormType.php
Expand Up @@ -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##
} }


Expand Down

0 comments on commit f1f949c

Please sign in to comment.