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

Commit

Permalink
Merge branch '4.4' into 5.3
Browse files Browse the repository at this point in the history
* 4.4:
  [Form] Fix comments
  • Loading branch information
javiereguiluz committed Oct 4, 2021
2 parents 1664cb4 + b9f6f0e commit b4392aa
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 b4392aa

Please sign in to comment.