Skip to content

Commit 8d049c5

Browse files
committed
fixed typos
1 parent 5b38d74 commit 8d049c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

UPGRADE-2.8.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Form
181181
{
182182
public function getExtendedType()
183183
{
184-
method_exists(AbstractType::class, 'getBlockPrefix') ? FormType::class : 'form';
184+
return method_exists(AbstractType::class, 'getBlockPrefix') ? FormType::class : 'form';
185185
}
186186
}
187187
```

src/Symfony/Component/Form/AbstractType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function getName()
7474
/**
7575
* Returns the prefix of the template block name for this type.
7676
*
77-
* The block prefixes defaults to the underscored short class name with
77+
* The block prefixes default to the underscored short class name with
7878
* the "Type" suffix removed (e.g. "UserProfileType" => "user_profile").
7979
*
8080
* @return string The prefix of the template block name

0 commit comments

Comments
 (0)