diff --git a/src/Enum.php b/src/Enum.php index ad74989a..6987502c 100644 --- a/src/Enum.php +++ b/src/Enum.php @@ -10,7 +10,7 @@ class Enum public static function toDisplayString($constant) { - TextCaseConverter::convert(static::toString($constant), + return TextCaseConverter::convert(static::toString($constant), TextCaseConverter::SNAKE_CASE, TextCaseConverter::BLANK_CASE); }