summaryrefslogtreecommitdiffstats
path: root/src/TokensList.php
diff options
context:
space:
mode:
authorWilliam Desportes <williamdes@wdes.fr>2019-12-31 21:22:47 +0100
committerWilliam Desportes <williamdes@wdes.fr>2019-12-31 21:22:55 +0100
commit1a4d30d5e0969d4102688ab911549d65ac26d547 (patch)
treecc1fb63fcf1a7d208dd4648cd5141b70e8ae1e39 /src/TokensList.php
parent32e2949754149176a1815ea00c2e9ec2ba29e5bd (diff)
parent3129c88d83b5978f1dbc1742420f46728d19b730 (diff)
downloadsql-parser-1a4d30d5e0969d4102688ab911549d65ac26d547.zip
sql-parser-1a4d30d5e0969d4102688ab911549d65ac26d547.tar.gz
sql-parser-1a4d30d5e0969d4102688ab911549d65ac26d547.tar.bz2
Merge branch 'QA'
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'src/TokensList.php')
-rw-r--r--src/TokensList.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/TokensList.php b/src/TokensList.php
index 3f08fe6..e8ff733 100644
--- a/src/TokensList.php
+++ b/src/TokensList.php
@@ -89,7 +89,7 @@ class TokensList implements ArrayAccess
* Gets the next token. Skips any irrelevant token (whitespaces and
* comments).
*
- * @return Token
+ * @return Token|null
*/
public function getNext()
{
@@ -109,7 +109,7 @@ class TokensList implements ArrayAccess
*
* @param int $type the type
*
- * @return Token
+ * @return Token|null
*/
public function getNextOfType($type)
{
@@ -128,7 +128,7 @@ class TokensList implements ArrayAccess
* @param int $type the type of the token
* @param string $value the value of the token
*
- * @return Token
+ * @return Token|null
*/
public function getNextOfTypeAndValue($type, $value)
{