Skip to content

Commit 34afde3

Browse files
authored
Merge pull request #8 from maximehuran/feature/correct-channel-form
Make getExtendedTypes static to be compatible to Symfony 5
2 parents 8d0df70 + 7a3737e commit 34afde3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Form/Extension/ChannelTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
3535
;
3636
}
3737

38-
public function getExtendedTypes(): array
38+
public static function getExtendedTypes(): array
3939
{
4040
return [ChannelType::class];
4141
}

0 commit comments

Comments
 (0)