8000 [FrameworkBundle] fixes outdated phpdoc on Controller::createForm() m… · symfony/symfony@3d0c4dd · GitHub
[go: up one dir, main page]

Skip to content
< 10000 div class="prc-PageLayout-HeaderContent-dVIQb" style="--spacing:var(--spacing-normal)">

Commit 3d0c4dd

Browse files
author
Hugo Hamon
committed
[FrameworkBundle] fixes outdated phpdoc on Controller::createForm() method.
1 parent 06dd574 commit 3d0c4dd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
2323
use Symfony\Component\Security\Csrf\CsrfToken;
2424
use Symfony\Component\Form\Extension\Core\Type\FormType;
25-
use Symfony\Component\Form\FormTypeInterface;
2625
use Symfony\Component\Form\Form;
2726
use Symfony\Component\Form\FormBuilder;
2827
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
@@ -275,9 +274,9 @@ protected function createAccessDeniedException($message = 'Access Denied.', \Exc
275274
/**
276275
* Creates and returns a Form instance from the type of the form.
277276
*
278-
* @param string|FormTypeInterface $type The built type of the form
279-
* @param mixed $data The initial data for the form
280-
* @param array $options Options for the form
277+
* @param string $type The fully qualified class name of the form type
278+
* @param mixed $data The initial data for the form
279+
* @param array $options Options for the form
281280
*
282281
* @return Form
283282
*/

0 commit comments

Comments
 (0)
0