From c7fd6385cfde90b58ff3fef09e0feef06f7fa5de Mon Sep 17 00:00:00 2001 From: roadiz-ci Date: Tue, 2 Jul 2024 21:51:45 +0000 Subject: [PATCH] Merge branch hotfix/v2.3.16 --- src/Utils/StringHandler.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Utils/StringHandler.php b/src/Utils/StringHandler.php index f2f632b..323e818 100644 --- a/src/Utils/StringHandler.php +++ b/src/Utils/StringHandler.php @@ -99,6 +99,7 @@ public static function variablize(?string $string): string return (new UnicodeString($string)) ->ascii() + ->replaceMatches('#([^a-zA-Z0-9]+)#', '_') ->snake() ->lower() ->trim('-')