From 982959207d026a0e8adad07ea14afd25a357a813 Mon Sep 17 00:00:00 2001 From: Luis Hdez Date: Sun, 6 Jan 2019 17:41:54 +0100 Subject: [PATCH] Fix missing self --- SMSCounter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SMSCounter.php b/SMSCounter.php index b522c2a..950d6b7 100644 --- a/SMSCounter.php +++ b/SMSCounter.php @@ -173,7 +173,7 @@ public function count($text) public function detectEncoding($text, &$exChars) { if (!is_array($text)) { - $text = utf8ToUnicode($text); + $text = self::utf8ToUnicode($text); } $utf16Chars = array_diff($text, $this->getGsm7bitExMap());