Permalink
Browse files

Fatal error: Declaration of Company\ProjectBundle\Form\Type\UserType:…

…:buildForm() must be compatible with that of Symfony\Component\Form\FormTypeInterface::buildForm() in ...
  • Loading branch information...
1 parent fec399e commit f1f949c4ea5d33873d2b3dfaf5546c119776e759 Tero Kaisti committed May 25, 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 f1f949c

Please sign in to comment.