Browse Source

Merge pull request #753 from thanosp/form-type-fix

Symfony\Component\Form\Options is gone from symfony 2.1.x-dev
Thomas 13 years ago
parent
commit
22fcd0acf3
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Form/Type/ModelType.php
  2. 1 1
      Form/Type/TranslatableChoiceType.php

+ 1 - 1
Form/Type/ModelType.php

@@ -18,7 +18,7 @@ use Symfony\Component\Form\FormFactoryInterface;
 use Symfony\Component\Form\AbstractType;
 use Symfony\Component\Form\AbstractType;
 use Symfony\Component\Form\FormInterface;
 use Symfony\Component\Form\FormInterface;
 use Symfony\Component\Form\FormView;
 use Symfony\Component\Form\FormView;
-use Symfony\Component\Form\Options;
+use Symfony\Component\OptionsResolver\Options;
 
 
 use Sonata\AdminBundle\Form\EventListener\MergeCollectionListener;
 use Sonata\AdminBundle\Form\EventListener\MergeCollectionListener;
 use Sonata\AdminBundle\Form\ChoiceList\ModelChoiceList;
 use Sonata\AdminBundle\Form\ChoiceList\ModelChoiceList;

+ 1 - 1
Form/Type/TranslatableChoiceType.php

@@ -17,7 +17,7 @@ use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
 use Symfony\Component\Form\FormInterface;
 use Symfony\Component\Form\FormInterface;
 use Symfony\Component\Form\FormView;
 use Symfony\Component\Form\FormView;
 use Symfony\Component\Form\FormBuilder;
 use Symfony\Component\Form\FormBuilder;
-use Symfony\Component\Form\Options;
+use Symfony\Component\OptionsResolver\Options;
 
 
 class TranslatableChoiceType extends ChoiceType
 class TranslatableChoiceType extends ChoiceType
 {
 {