summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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.