summaryrefslogtreecommitdiffstats
path: root/src/UtfString.php
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2019-12-14 12:43:05 -0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2019-12-14 12:43:05 -0300
commit53b6ab87749357700f7129d0400fee3afc9ec50d (patch)
tree6325a11c1513e6099d1bc07eabf0c2f1e9d49aa1 /src/UtfString.php
parent53441d712bc5e8d0f5f08144fd0ec4dfd5f8b04c (diff)
downloadsql-parser-53b6ab87749357700f7129d0400fee3afc9ec50d.zip
sql-parser-53b6ab87749357700f7129d0400fee3afc9ec50d.tar.gz
sql-parser-53b6ab87749357700f7129d0400fee3afc9ec50d.tar.bz2
Remove useless comments and annotations
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
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)