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:
commit
a6c002563d
@ -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
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user