8000 minor #48226 [Form] Add better docs for `FormTypeExtensionInterface` … · symfony/symfony@ececb2a · GitHub
[go: up one dir, main page]

Skip to content

Commit ececb2a

Browse files
committed
minor #48226 [Form] Add better docs for FormTypeExtensionInterface (chr-hertel)
This PR was merged into the 6.2 branch. Discussion ---------- [Form] Add better docs for `FormTypeExtensionInterface` | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | yes | Deprecations? | no | License | MIT To be in sync with FormTypeInterface after #41869 Basically for PHPStan Commits ------- 9867491 add better docs for FormTypeExtensionInterface
2 parents e9cc81a + 9867491 commit ececb2a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Symfony/Component/Form/FormTypeExtensionInterface.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ interface FormTypeExtensionInterface
2424
* This method is called after the extended type has built the form to
2525
* further modify it.
2626
*
27+
* @param array<string, mixed> $options
28+
*
2729
* @see FormTypeInterface::buildForm()
2830
*/
2931
public function buildForm(FormBuilderInterface $builder, array $options);
@@ -34,6 +36,8 @@ public function buildForm(FormBuilderInterface $builder, array $options);
3436
* This method is called after the extended type has built the view to
3537
* further modify it.
3638
*
39+
* @param array<string, mixed> $options
40+
*
3741
* @see FormTypeInterface::buildView()
3842
*/
3943
public function buildView(FormView $view, FormInterface $form, array $options);
@@ -44,6 +48,8 @@ public function buildView(FormView $view, FormInterface $form, array $options);
4448
* This method is called after the extended type has finished the view to
4549
* further modify it.
4650
*
51+
* @param array<string, mixed> $options
52+
*
4753
* @see FormTypeInterface::finishView()
4854
*/
4955
public function finishView(FormView $view, FormInterface $form, array $options);

0 commit comments

Comments
 (0)
0