From 2c43dc452ab957c5a943938dc78cfff19e7cfed1 Mon Sep 17 00:00:00 2001 From: Hubert Krzysztofiak Date: Wed, 21 Sep 2022 10:47:30 +0200 Subject: [PATCH] Change to static method --- src/Helpers/StringHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Helpers/StringHelper.php b/src/Helpers/StringHelper.php index 1df79c5..2c3c4f3 100644 --- a/src/Helpers/StringHelper.php +++ b/src/Helpers/StringHelper.php @@ -6,7 +6,7 @@ class StringHelper { - public function convertToJitsiSlug(string $str, array $options = []): string + public static function convertToJitsiSlug(string $str, array $options = []): string { // Make sure string is in UTF-8 and strip invalid UTF-8 characters $str = mb_convert_encoding($str, 'UTF-8', mb_list_encodings());