Skip to content

Commit b8712c3

Browse files
author
Hugo Hamon
committed
[FrameworkBundle] fixes outdated phpdoc on Controller::createForm() method.
1 parent a3366c2 commit b8712c3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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)