[FrameworkBundle] fixes outdated phpdoc on Controller::createForm() method.

This commit is contained in:
Hugo Hamon 2015-12-16 16:25:11 +01:00
parent 06dd574627
commit 3d0c4dd303

View File

@ -22,7 +22,6 @@ use Symfony\Component\HttpKernel\HttpKernelInterface;
use Symfony\Component\Security\Core\Exception\AccessDeniedException; use Symfony\Component\Security\Core\Exception\AccessDeniedException;
use Symfony\Component\Security\Csrf\CsrfToken; use Symfony\Component\Security\Csrf\CsrfToken;
use Symfony\Component\Form\Extension\Core\Type\FormType; use Symfony\Component\Form\Extension\Core\Type\FormType;
use Symfony\Component\Form\FormTypeInterface;
use Symfony\Component\Form\Form; use Symfony\Component\Form\Form;
use Symfony\Component\Form\FormBuilder; use Symfony\Component\Form\FormBuilder;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface; use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
@ -275,9 +274,9 @@ abstract class Controller implements ContainerAwareInterface
/** /**
* Creates and returns a Form instance from the type of the form. * Creates and returns a Form instance from the type of the form.
* *
* @param string|FormTypeInterface $type The built type of the form * @param string $type The fully qualified class name of the form type
* @param mixed $data The initial data for the form * @param mixed $data The initial data for the form
* @param array $options Options for the form * @param array $options Options for the form
* *
* @return Form * @return Form
*/ */