Skip to content

Commit bfd3357

Browse files
Merge branch '5.4' into 6.2
* 5.4: Fix some phpdoc [ErrorHandler] Do not patch return statements in closures [DI] keep `proxy` tag on original definition when decorating
2 parents b4b9775 + 4684d53 commit bfd3357

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Token.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ class Token
3030
public const PUNCTUATION_TYPE = 'punctuation';
3131

3232
/**
33-
* @param string $type The type of the token (self::*_TYPE)
34-
* @param int $cursor The cursor position in the source
33+
* @param string $type The type of the token (self::*_TYPE)
34+
* @param int|null $cursor The cursor position in the source
3535
*/
3636
public function __construct(string $type, string|int|float|null $value, ?int $cursor)
3737
{

0 commit comments

Comments
 (0)