Skip to content

Commit 7f827ef

Browse files
dereuromarkADmad
andauthored
Update templates/bake/Model/enum.twig
Co-authored-by: ADmad <[email protected]>
1 parent 1f001a5 commit 7f827ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/bake/Model/enum.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ enum {{ name }}{{ backed ? ': ' ~ backed : ''}} implements EnumLabelInterface
2929
*/
3030
public function label(): string
3131
{
32-
return Inflector::humanize(mb_strtolower($this->name));
32+
return Inflector::humanize(Inflector::underscore($this->name));
3333
}
3434
}

0 commit comments

Comments
 (0)