Skip to content

Commit 92458da

Browse files
committed
bug #30028 [Form] fix some docblocks and type checks (xabbuh)
This PR was merged into the 3.4 branch. Discussion ---------- [Form] fix some docblocks and type checks | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #30018 | License | MIT | Doc PR | Commits ------- ec0c37192b [Form] fix some docblocks and type checks
2 parents 849818d + 78a5441 commit 92458da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AbstractType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function configureOptions(OptionsResolver $resolver)
5252
*/
5353
public function getBlockPrefix()
5454
{
55-
return StringUtil::fqcnToBlockPrefix(\get_class($this));
55+
return StringUtil::fqcnToBlockPrefix(\get_class($this)) ?: '';
5656
}
5757

5858
/**

0 commit comments

Comments
 (0)