Skip to content

Commit b4392aa

Browse files
committed
Merge branch '4.4' into 5.3
* 4.4: [Form] Fix comments
2 parents 1664cb4 + b9f6f0e commit b4392aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

form/create_form_type_extension.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ First, create the form type extension class extending from
3535
class ImageTypeExtension extends AbstractTypeExtension
3636
{
3737
/**
38-
* Return the class of the type being extended.
38+
* Returns an array of extended types.
3939
*/
4040
public static function getExtendedTypes(): iterable
4141
{
42-
// return FormType::class to modify (nearly) every field in the system
42+
// return [FormType::class] to modify (nearly) every field in the system
4343
return [FileType::class];
4444
}
4545
}
@@ -145,7 +145,7 @@ For example::
145145
{
146146
public static function getExtendedTypes(): iterable
147147
{
148-
// return FormType::class to modify (nearly) every field in the system
148+
// return [FormType::class] to modify (nearly) every field in the system
149149
return [FileType::class];
150150
}
151151

0 commit comments

Comments
 (0)