diff --git a/StepByStep/WYSIWYG_EDITOR_IN_ANY_FORM.md b/StepByStep/WYSIWYG_EDITOR_IN_ANY_FORM.md index ab5ef06..2ba199c 100644 --- a/StepByStep/WYSIWYG_EDITOR_IN_ANY_FORM.md +++ b/StepByStep/WYSIWYG_EDITOR_IN_ANY_FORM.md @@ -73,9 +73,8 @@ final class ProductTranslationTypeExtension extends AbstractTypeExtension /** * {@inheritdoc} */ - public function getExtendedType(): string - { - return ProductTranslationType::class; + public static function getExtendedTypes(): iterable { + return [ProductTranslationType::class]; } } ```