Skip to content

Commit f7d6c0f

Browse files
Cleanup more @return annotations
1 parent 7fb120a commit f7d6c0f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: Parser/TokenStream.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ public function getUsed(): array
118118
}
119119

120120
/**
121-
* Returns nex identifier token.
121+
* Returns next identifier token.
122122
*
123-
* @return string The identifier token value
123+
* @return string
124124
*
125125
* @throws SyntaxErrorException If next token is not an identifier
126126
*/
@@ -136,9 +136,9 @@ public function getNextIdentifier(): string
136136
}
137137

138138
/**
139-
* Returns nex identifier or star delimiter token.
139+
* Returns next identifier or null if star delimiter token is found.
140140
*
141-
* @return string|null The identifier token value or null if star found
141+
* @return string|null
142142
*
143143
* @throws SyntaxErrorException If next token is not an identifier or a star delimiter
144144
*/

0 commit comments

Comments
 (0)