Skip to content

Commit

Permalink
[Form] fix some docblocks and type checks
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Jan 30, 2019
1 parent 3cfb558 commit ec0c371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Form/AbstractType.php
Expand Up @@ -52,7 +52,7 @@ public function configureOptions(OptionsResolver $resolver)
*/
public function getBlockPrefix()
{
return StringUtil::fqcnToBlockPrefix(\get_class($this));
return StringUtil::fqcnToBlockPrefix(\get_class($this)) ?: '';
}

/**
Expand Down

0 comments on commit ec0c371

Please sign in to comment.