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.
1 parent b307cb5 commit 35eeb6bCopy full SHA for 35eeb6b
Node/ArrayNode.php
@@ -20,7 +20,7 @@
20
*/
21
class ArrayNode extends Node
22
{
23
- protected $index;
+ protected int $index;
24
25
public function __construct()
26
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|null $cursor The cursor position in the source
+ * @param self::*_TYPE $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