minor #17033 [FrameworkBundle] fixes outdated phpdoc on Controller::createForm() method. (hhamon)

This PR was merged into the 3.0 branch.

Discussion
----------

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

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | ~
| License       | MIT
| Doc PR        | ~

Commits
-------

3d0c4dd [FrameworkBundle] fixes outdated phpdoc on Controller::createForm() method.
This commit is contained in:
Nicolas Grekas 2015-12-18 09:59:02 +01:00
commit a6c002563d
1 changed files with 3 additions and 4 deletions

View File

@ -22,7 +22,6 @@ use Symfony\Component\HttpKernel\HttpKernelInterface;
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
use Symfony\Component\Security\Csrf\CsrfToken;
use Symfony\Component\Form\Extension\Core\Type\FormType;
use Symfony\Component\Form\FormTypeInterface;
use Symfony\Component\Form\Form;
use Symfony\Component\Form\FormBuilder;
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.
*
* @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
* @param string $type The fully qualified class name of the form type
* @param mixed $data The initial data for the form
* @param array $options Options for the form
*
* @return Form
*/