summaryrefslogtreecommitdiffstats
path: root/src/UtfString.php
diff options
context:
space:
mode:
authorDan Ungureanu <udan1107@gmail.com>2015-07-08 01:40:37 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-07-08 01:40:37 +0300
commitc3717bd663d57b89f1d04068e6974d841b40fdcd (patch)
treeb2f51e4184580a4f5a6755291a1400d33f016bc9 /src/UtfString.php
parent691809e441523b859540dd76427a596674c7e137 (diff)
downloadsql-parser-c3717bd663d57b89f1d04068e6974d841b40fdcd.zip
sql-parser-c3717bd663d57b89f1d04068e6974d841b40fdcd.tar.gz
sql-parser-c3717bd663d57b89f1d04068e6974d841b40fdcd.tar.bz2
More coding style fixes. And typos. Lots of them.
Diffstat (limited to 'src/UtfString.php')
-rw-r--r--src/UtfString.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/UtfString.php b/src/UtfString.php
index bab15af..27e3f93 100644
--- a/src/UtfString.php
+++ b/src/UtfString.php
@@ -28,7 +28,7 @@ class UtfString implements \ArrayAccess
{
/**
- * The raw, multibyte string.
+ * The raw, multi-byte string.
*
* @var string
*/
@@ -143,6 +143,8 @@ class UtfString implements \ArrayAccess
* @param int $offset The offset to be set.
* @param string $value The value to be set.
*
+ * @throws \Exception Not implemented.
+ *
* @return void
*/
public function offsetSet($offset, $value)
@@ -155,6 +157,8 @@ class UtfString implements \ArrayAccess
*
* @param int $offset The value to be unset.
*
+ * @throws \Exception Not implemented.
+ *
* @return void
*/
public function offsetUnset($offset)
@@ -166,7 +170,7 @@ class UtfString implements \ArrayAccess
* Gets the length of an UTF-8 character.
*
* According to RFC 3629, a UTF-8 character can have at most 4 bytes.
- * However, this implemenation supports UTF-8 characters containing up to 6
+ * However, this implementation supports UTF-8 characters containing up to 6
* bytes.
*
* @param string $byte The byte to be analyzed.