Skip to content

Commit 01c1a16

Browse files
committed
compatibility deprecated getExtendedTypes
1 parent 1da40e5 commit 01c1a16

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Form/ConsoleFormTypeExtension.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,12 @@ public function getExtendedType()
2525
{
2626
return FormType::class;
2727
}
28+
29+
/**
30+
* @return iterable
31+
*/
32+
public static function getExtendedTypes(): iterable
33+
{
34+
return [FormType::class];
35+
}
2836
}

0 commit comments

Comments
 (0)