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 75eea25 + bfd3357 commit 83372f8Copy full SHA for 83372f8
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