[Form] fix some docblocks and type checks
This commit is contained in:
parent
3cfb558f03
commit
ec0c37192b
@ -52,7 +52,7 @@ abstract class AbstractType implements FormTypeInterface
|
||||
*/
|
||||
public function getBlockPrefix()
|
||||
{
|
||||
return StringUtil::fqcnToBlockPrefix(\get_class($this));
|
||||
return StringUtil::fqcnToBlockPrefix(\get_class($this)) ?: '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user