summaryrefslogtreecommitdiffstats
path: root/src/UtfString.php
diff options
context:
space:
mode:
authorDan Ungureanu <udan1107@gmail.com>2015-06-16 01:10:37 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-06-16 01:10:37 +0300
commit655e07391436f1445461db6a02be4efbc34fa35d (patch)
tree06cfe3239cc8cbb34948cc72a824d82e1eaa1cea /src/UtfString.php
parent846d7c3417d4b1c748193163f038a2619ce62c93 (diff)
downloadsql-parser-655e07391436f1445461db6a02be4efbc34fa35d.zip
sql-parser-655e07391436f1445461db6a02be4efbc34fa35d.tar.gz
sql-parser-655e07391436f1445461db6a02be4efbc34fa35d.tar.bz2
Improved documentation and coding style.
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) {