summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Ungureanu <udan1107@gmail.com>2015-07-10 21:54:15 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-07-10 21:54:20 +0300
commitd8b3a98f00069c0e8839d63deba1343a55fd5804 (patch)
tree16fc689285236456f2f92e1e8b97b85d11b3cc37
parent30fdd07d36a48031afe04df2ce54307e3b4bc7b2 (diff)
downloadsql-parser-d8b3a98f00069c0e8839d63deba1343a55fd5804.zip
sql-parser-d8b3a98f00069c0e8839d63deba1343a55fd5804.tar.gz
sql-parser-d8b3a98f00069c0e8839d63deba1343a55fd5804.tar.bz2
Minor documentation improvements.
-rw-r--r--src/TokensList.php2
-rw-r--r--src/Utils/Error.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/TokensList.php b/src/TokensList.php
index 93fb7c0..10ff56e 100644
--- a/src/TokensList.php
+++ b/src/TokensList.php
@@ -58,7 +58,7 @@ class TokensList implements \ArrayAccess
/**
* Builds an array of tokens by merging their raw value.
*
- * @param string|Token[]|TokensList $list
+ * @param string|Token[]|TokensList $list The tokens to be built.
*
* @return string
*/
diff --git a/src/Utils/Error.php b/src/Utils/Error.php
index c1bfee1..df6d513 100644
--- a/src/Utils/Error.php
+++ b/src/Utils/Error.php
@@ -26,7 +26,7 @@ class Error
/**
* Gets the errors of a lexer and a parser.
*
- * @param array $objs
+ * @param array $objs Objects from where the errors will be extracted.
*
* @return array Each element of the array represents an error.
* `$err[0]` holds the error message.