fixed typos

This commit is contained in:
Fabien Potencier 2015-08-01 08:45:26 +02:00
parent 5b38d74128
commit 8d049c51d3
2 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ Form
{
public function getExtendedType()
{
method_exists(AbstractType::class, 'getBlockPrefix') ? FormType::class : 'form';
return method_exists(AbstractType::class, 'getBlockPrefix') ? FormType::class : 'form';
}
}
```

View File

@ -74,7 +74,7 @@ abstract class AbstractType implements FormTypeInterface
/**
* 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").
*
* @return string The prefix of the template block name