@@ -29,6 +29,9 @@ |
||
29 | 29 | */ |
30 | 30 | protected $referenceMap; |
31 | 31 | |
32 | + /** |
|
33 | + * @param ReferenceMapInterface $referenceMap |
|
34 | + */ |
|
32 | 35 | public function __construct(?ReferenceMapInterface $referenceMap = null) |
33 | 36 | { |
34 | 37 | $this->setStartLine(1); |
@@ -141,6 +141,9 @@ |
||
141 | 141 | return $this->getIndent() >= self::INDENT_LEVEL; |
142 | 142 | } |
143 | 143 | |
144 | + /** |
|
145 | + * @param integer $index |
|
146 | + */ |
|
144 | 147 | public function getCharacter(?int $index = null): ?string |
145 | 148 | { |
146 | 149 | if ($index === null) { |
@@ -46,7 +46,7 @@ |
||
46 | 46 | } |
47 | 47 | |
48 | 48 | /** |
49 | - * @return mixed|false |
|
49 | + * @return string |
|
50 | 50 | * |
51 | 51 | * @phpstan-return T|false |
52 | 52 | */ |