We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b4b9775 + 4684d53 commit bfd3357Copy full SHA for bfd3357
Token.php
@@ -30,8 +30,8 @@ class Token
30
public const PUNCTUATION_TYPE = 'punctuation';
31
32
/**
33
- * @param string $type The type of the token (self::*_TYPE)
34
- * @param int $cursor The cursor position in the source
+ * @param string $type The type of the token (self::*_TYPE)
+ * @param int|null $cursor The cursor position in the source
35
*/
36
public function __construct(string $type, string|int|float|null $value, ?int $cursor)
37
{
0 commit comments