File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Symfony/Component/Form Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 181
181
{
182
182
public function getExtendedType()
183
183
{
184
- method_exists(AbstractType::class, 'getBlockPrefix') ? FormType::class : 'form';
184
+ return method_exists(AbstractType::class, 'getBlockPrefix') ? FormType::class : 'form';
185
185
}
186
186
}
187
187
```
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public function getName()
74
74
/**
75
75
* Returns the prefix of the template block name for this type.
76
76
*
77
- * The block prefixes defaults to the underscored short class name with
77
+ * The block prefixes default to the underscored short class name with
78
78
* the "Type" suffix removed (e.g. "UserProfileType" => "user_profile").
79
79
*
80
80
* @return string The prefix of the template block name
You can’t perform that action at this time.
0 commit comments