Browse Source

Merge remote branch 'yethee/form_fixes'

* yethee/form_fixes:
  [Form] Added missing import statement of namespaces.
Fabien Potencier 14 years ago
parent
commit
7dab0e1190

+ 2 - 0
src/Symfony/Component/Form/AbstractType.php

@@ -11,6 +11,8 @@
 
 namespace Symfony\Component\Form;
 
+use Symfony\Component\Form\Exception\UnexpectedTypeException;
+
 abstract class AbstractType implements FormTypeInterface
 {
     private $extensions = array();

+ 1 - 0
src/Symfony/Component/Form/FormTypeGuesserChain.php

@@ -12,6 +12,7 @@
 namespace Symfony\Component\Form;
 
 use Symfony\Component\Form\Guess\Guess;
+use Symfony\Component\Form\Exception\UnexpectedTypeException;
 
 class FormTypeGuesserChain implements FormTypeGuesserInterface
 {