8000 minor #17033 [FrameworkBundle] fixes outdated phpdoc on Controller::c… · symfony/symfony@a6c0025 · GitHub
[go: up one dir, main page]

Skip to content

Commit a6c0025

Browse files
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.
2 parents 06dd574 + 3d0c4dd commit a6c0025

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