diff --git a/lib/Models/src/Utils/StringHandler.php b/lib/Models/src/Utils/StringHandler.php index 323e8185..8608a997 100644 --- a/lib/Models/src/Utils/StringHandler.php +++ b/lib/Models/src/Utils/StringHandler.php @@ -122,14 +122,13 @@ public static function camelCase(?string $string): string return ''; } - return (new UnicodeString($string)) + return mb_lcfirst((new UnicodeString($string)) ->ascii() - ->camel() ->trim('-') ->trim('_') ->trim() - ->toString() - ; + ->camel() + ->toString()); }