Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5a1e3f3

Browse files
change type to be more specific
1 parent 48b3036 commit 5a1e3f3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎stubs/FormTypeExtensionInterface.stub‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ namespace Symfony\Component\Form;
55
interface FormTypeExtensionInterface
66
{
77
/**
8-
* @param array<mixed> $options
8+
* @param array<string, mixed> $options
99
*/
1010
public function buildForm(FormBuilderInterface $builder, array $options): void;
1111

1212
/**
13-
* @param array<mixed> $options
13+
* @param array<string, mixed> $options
1414
*/
1515
public function buildView(FormView $view, FormInterface $form, array $options): void;
1616

1717
/**
18-
* @param array<mixed> $options
18+
* @param array<string, mixed> $options
1919
*/
2020
public function finishView(FormView $view, FormInterface $form, array $options): void;
2121
}

‎stubs/FormTypeInterface.stub‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ namespace Symfony\Component\Form;
55
interface FormTypeInterface
66
{
77
/**
8-
* @param array<mixed> $options
8+
* @param array<string, mixed> $options
99
*/
1010
public function buildForm(FormBuilderInterface $builder, array $options): void;
1111

1212
/**
13-
* @param array<mixed> $options
13+
* @param array<string, mixed> $options
1414
*/
1515
public function buildView(FormView $view, FormInterface $form, array $options): void;
1616

1717
/**
18-
* @param array<mixed> $options
18+
* @param array<string, mixed> $options
1919
*/
2020
public function finishView(FormView $view, FormInterface $form, array $options): void;
2121
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /