소스 검색

[Form] Added missing import statement of namespaces.

Deni 14 년 전
부모
커밋
a15abc09bd
2개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/Symfony/Component/Form/AbstractType.php
  2. 1 0
      src/Symfony/Component/Form/FormTypeGuesserChain.php

+ 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
 {