瀏覽代碼

[FrameworkBundle] Fixed phpdoc.

Katsuhiro OGAWA 14 年之前
父節點
當前提交
16a40f6112
共有 1 個文件被更改,包括 8 次插入5 次删除
  1. 8 5
      src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php

+ 8 - 5
src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php

@@ -15,6 +15,9 @@ use Symfony\Component\HttpFoundation\Response;
 use Symfony\Component\HttpFoundation\RedirectResponse;
 use Symfony\Component\DependencyInjection\ContainerAware;
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
+use Symfony\Component\Form\FormTypeInterface;
+use Symfony\Component\Form\Form;
+use Symfony\Component\Form\FormBuilder;
 
 /**
  * Controller is a simple implementation of a Controller.
@@ -110,11 +113,11 @@ class Controller extends ContainerAware
     /**
      * Creates and returns a Form instance from the type of the form
      *
-     * @param string|\Symfony\Component\Form\FormTypeInterface $type    The built type of the form
-     * @param mixed $data                                               The initial data for the form
-     * @param array $options                                            Options for the form
+     * @param string|FormTypeInterface $type    The built type of the form
+     * @param mixed $data                       The initial data for the form
+     * @param array $options                    Options for the form
      *
-     * @return \Symfony\Component\Form\Form
+     * @return Form
      */
     public function createForm($type, $data = null, array $options = array())
     {
@@ -127,7 +130,7 @@ class Controller extends ContainerAware
      * @param mixed $data               The initial data for the form
      * @param array $options            Options for the form
      *
-     * @return \Symfony\Component\Form\FormBuilder
+     * @return FormBuilder
      */
     public function createFormBuilder($data = null, array $options = array())
     {