Skip to content

Commit 108e0b2

Browse files
Fix
1 parent ee0e67c commit 108e0b2

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

stubs/Symfony/Component/Form/AbstractType.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ abstract class AbstractType implements FormTypeInterface
1111
{
1212

1313
/**
14-
* @param FormBuilderInterface<TData> $builder
14+
* @param FormBuilderInterface<TData|null> $builder
1515
* @param array<string, mixed> $options
1616
*/
1717
public function buildForm(FormBuilderInterface $builder, array $options): void;

stubs/Symfony/Component/Form/FormConfigInterface.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface FormConfigInterface
99
{
1010

1111
/**
12-
* @return TData|null
12+
* @return TData
1313
*/
1414
public function getData(): mixed;
1515

stubs/Symfony/Component/Form/FormTypeExtensionInterface.stub

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ namespace Symfony\Component\Form;
88
interface FormTypeExtensionInterface
99
{
1010
/**
11+
* @param FormBuilderInterface<TData|null> $builder
1112
* @param array<string, mixed> $options
1213
*/
1314
public function buildForm(FormBuilderInterface $builder, array $options): void;

stubs/Symfony/Component/Form/FormTypeInterface.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Symfony\Component\Form;
88
interface FormTypeInterface
99
{
1010
/**
11-
* @param FormBuilderInterface<TData> $builder
11+
* @param FormBuilderInterface<TData|null> $builder
1212
* @param array<string, mixed> $options
1313
*/
1414
public function buildForm(FormBuilderInterface $builder, array $options): void;

0 commit comments

Comments
 (0)