Commit d05878e1 authored by Raidelet Nicolas's avatar Raidelet Nicolas Committed by Guillaume Perréal
Browse files

symfony-upgrade-fixer

Showing with 9 additions and 9 deletions
+9 -9
...@@ -2,16 +2,16 @@ ...@@ -2,16 +2,16 @@
namespace Irstea\FileUploadBundle\Controller; namespace Irstea\FileUploadBundle\Controller;
use Symfony\Component\HttpFoundation\Request; use Irstea\FileUploadBundle\Entity\UploadedFile;
use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Pagerfanta\Adapter\DoctrineORMAdapter;
use Pagerfanta\Pagerfanta;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
use Irstea\FileUploadBundle\Entity\UploadedFile; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Pagerfanta\Adapter\DoctrineORMAdapter; use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Pagerfanta\Pagerfanta; use Symfony\Component\HttpFoundation\Request;
/** /**
* UploadedFile controller. * UploadedFile controller.
......
...@@ -21,7 +21,7 @@ use Symfony\Component\Form\FormBuilderInterface; ...@@ -21,7 +21,7 @@ use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\FormInterface; use Symfony\Component\Form\FormInterface;
use Symfony\Component\Form\FormView; use Symfony\Component\Form\FormView;
use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\OptionsResolver\OptionsResolverInterface; use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\Routing\Router; use Symfony\Component\Routing\Router;
use Symfony\Component\Validator\Constraints\Count; use Symfony\Component\Validator\Constraints\Count;
use Symfony\Component\Validator\Constraints\NotBlank; use Symfony\Component\Validator\Constraints\NotBlank;
...@@ -113,7 +113,7 @@ class FileUploadType extends AbstractType ...@@ -113,7 +113,7 @@ class FileUploadType extends AbstractType
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function setDefaultOptions(OptionsResolverInterface $resolver) public function configureOptions(OptionsResolver $resolver)
{ {
$this->setWidgetDefaultOptions($resolver); $this->setWidgetDefaultOptions($resolver);
...@@ -177,7 +177,7 @@ class FileUploadType extends AbstractType ...@@ -177,7 +177,7 @@ class FileUploadType extends AbstractType
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getName() public function getBlockPrefix()
{ {
return "file_upload"; return "file_upload";
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment