summaryrefslogtreecommitdiffstats
path: root/src/UtfString.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/UtfString.php')
-rw-r--r--src/UtfString.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UtfString.php b/src/UtfString.php
index 8815e58..0f68cfe 100644
--- a/src/UtfString.php
+++ b/src/UtfString.php
@@ -154,7 +154,7 @@ class UtfString implements \ArrayAccess
*
* @return int
*/
- private static function getCharLength($byte)
+ public static function getCharLength($byte)
{
$byte = ord($byte);
if ($byte < 128) {