Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit f1f949c4ea5d33873d2b3dfaf5546c119776e759 1 parent fec399e
Tero Kaisti authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 Resources/skeleton/FormType.php
4 Resources/skeleton/FormType.php
@@ -3,14 +3,14 @@
3 3 namespace ##NAMESPACE##;
4 4
5 5 use Symfony\Component\Form\AbstractType;
6   -use Symfony\Component\Form\FormBuilder;
  6 +use Symfony\Component\Form\FormBuilderInterface;
7 7
8 8 class ##CLASS## extends AbstractType
9 9 {
10 10 /**
11 11 * {@inheritdoc}
12 12 */
13   - public function buildForm(FormBuilder $builder, array $options)
  13 + public function buildForm(FormBuilderInterface $builder, array $options)
14 14 {##BUILD_CODE##
15 15 }
16 16

0 comments on commit f1f949c

Please sign in to comment.
Something went wrong with that request. Please try again.