Skip to content

Commit 45682bd

Browse files
Merge branch '6.4' into 7.0
* 6.4: fix typo Add types to private and internal properties [Workflow] Cleaning code [Scheduler] Fix NPE in debug:scheduler command
2 parents 5e0a3c5 + 35eeb6b commit 45682bd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Node/ArrayNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
class ArrayNode extends Node
2222
{
23-
protected $index;
23+
protected int $index;
2424

2525
public function __construct()
2626
{

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|null $cursor The cursor position in the source
33+
* @param self::*_TYPE $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)