summaryrefslogtreecommitdiffstats
path: root/src/UtfString.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/UtfString.php')
-rw-r--r--src/UtfString.php14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/UtfString.php b/src/UtfString.php
index 1a88a6b..06eb773 100644
--- a/src/UtfString.php
+++ b/src/UtfString.php
@@ -20,10 +20,6 @@ use Exception;
* Implements array-like access for UTF-8 strings.
*
* In this library, this class should be used to parse UTF-8 queries.
- *
- * @category Misc
- *
- * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL-2.0+
*/
class UtfString implements ArrayAccess
{
@@ -68,8 +64,6 @@ class UtfString implements ArrayAccess
public $charLen = 0;
/**
- * Constructor.
- *
* @param string $str the string
*/
public function __construct($str)
@@ -144,7 +138,7 @@ class UtfString implements ArrayAccess
* @param int $offset the offset to be set
* @param string $value the value to be set
*
- * @throws Exception not implemented
+ * @throws Exception not implemented.
*/
public function offsetSet($offset, $value)
{
@@ -156,7 +150,7 @@ class UtfString implements ArrayAccess
*
* @param int $offset the value to be unset
*
- * @throws Exception not implemented
+ * @throws Exception not implemented.
*/
public function offsetUnset($offset)
{
@@ -170,10 +164,10 @@ class UtfString implements ArrayAccess
* However, this implementation supports UTF-8 characters containing up to 6
* bytes.
*
- * @param string $byte the byte to be analyzed
- *
* @see https://tools.ietf.org/html/rfc3629
*
+ * @param string $byte the byte to be analyzed
+ *
* @return int
*/
public static function getCharLength($byte)