8000 bug #30028 [Form] fix some docblocks and type checks (xabbuh) · symfony/symfony@46edcee · GitHub
[go: up one dir, main page]

Skip to content

Commit 46edcee

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 ------- ec0c371 [Form] fix some docblocks and type checks
2 parents 823a95d + ec0c371 commit 46edcee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Form/AbstractType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
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)
0