Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
[Form] Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sebpacz authored Sep 29, 2021
1 parent 4d1e429 commit c06ec56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions form/create_form_type_extension.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ First, create the form type extension class extending from
class ImageTypeExtension extends AbstractTypeExtension
{
/**
* Return the class of the type being extended.
* Returns an array of extended types.
*/
public static function getExtendedTypes(): iterable
{
// return FormType::class to modify (nearly) every field in the system
// return [FormType::class] to modify (nearly) every field in the system
return [FileType::class];
}
}
Expand Down Expand Up @@ -145,7 +145,7 @@ For example::
{
public static function getExtendedTypes(): iterable
{
// return FormType::class to modify (nearly) every field in the system
// return [FormType::class] to modify (nearly) every field in the system
return [FileType::class];
}

Expand Down

0 comments on commit c06ec56

Please sign in to comment.