diff options
Diffstat (limited to 'src/TokensList.php')
-rw-r--r-- | src/TokensList.php | 6 |
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) { |