fixed typos
This commit is contained in:
parent
5b38d74128
commit
8d049c51d3
@ -181,7 +181,7 @@ Form
|
|||||||
{
|
{
|
||||||
public function getExtendedType()
|
public function getExtendedType()
|
||||||
{
|
{
|
||||||
method_exists(AbstractType::class, 'getBlockPrefix') ? FormType::class : 'form';
|
return method_exists(AbstractType::class, 'getBlockPrefix') ? FormType::class : 'form';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -74,7 +74,7 @@ abstract class AbstractType implements FormTypeInterface
|
|||||||
/**
|
/**
|
||||||
* Returns the prefix of the template block name for this type.
|
* Returns the prefix of the template block name for this type.
|
||||||
*
|
*
|
||||||
* The block prefixes defaults to the underscored short class name with
|
* The block prefixes default to the underscored short class name with
|
||||||
* the "Type" suffix removed (e.g. "UserProfileType" => "user_profile").
|
* the "Type" suffix removed (e.g. "UserProfileType" => "user_profile").
|
||||||
*
|
*
|
||||||
* @return string The prefix of the template block name
|
* @return string The prefix of the template block name
|
||||||
|
Reference in New Issue
Block a user