We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 671f1a0 commit 78a5441Copy full SHA for 78a5441
AbstractType.php
@@ -52,7 +52,7 @@ public function configureOptions(OptionsResolver $resolver)
52
*/
53
public function getBlockPrefix()
54
{
55
- return StringUtil::fqcnToBlockPrefix(\get_class($this));
+ return StringUtil::fqcnToBlockPrefix(\get_class($this)) ?: '';
56
}
57
58
/**
0 commit comments