[Form] fix some docblocks and type checks

This commit is contained in:
Christian Flothmann 2019-01-29 19:24:09 +01:00
parent 3cfb558f03
commit ec0c37192b
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ abstract class AbstractType implements FormTypeInterface
*/
public function getBlockPrefix()
{
return StringUtil::fqcnToBlockPrefix(\get_class($this));
return StringUtil::fqcnToBlockPrefix(\get_class($this)) ?: '';
}
/**