@@ -44,7 +44,7 @@ |
||
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
47 | - * @return mixed|false |
|
47 | + * @return string |
|
48 | 48 | * |
49 | 49 | * @phpstan-return TValue|false |
50 | 50 | */ |
@@ -16,7 +16,7 @@ |
||
16 | 16 | public function getContent(): string; |
17 | 17 | |
18 | 18 | /** |
19 | - * @return iterable<int, string> |
|
19 | + * @return \Generator string> |
|
20 | 20 | */ |
21 | 21 | public function getLines(): iterable; |
22 | 22 |
@@ -26,6 +26,9 @@ |
||
26 | 26 | /** @var ReferenceMapInterface */ |
27 | 27 | protected $referenceMap; |
28 | 28 | |
29 | + /** |
|
30 | + * @param ReferenceMapInterface $referenceMap |
|
31 | + */ |
|
29 | 32 | public function __construct(?ReferenceMapInterface $referenceMap = null) |
30 | 33 | { |
31 | 34 | $this->setStartLine(1); |
@@ -23,13 +23,14 @@ discard block |
||
23 | 23 | { |
24 | 24 | /** |
25 | 25 | * @param mixed $default |
26 | + * @param string $key |
|
26 | 27 | * |
27 | 28 | * @return mixed |
28 | 29 | */ |
29 | 30 | public function getConfig(?string $key = null, $default = null); |
30 | 31 | |
31 | 32 | /** |
32 | - * @return iterable<BlockStartParserInterface> |
|
33 | + * @return \ArrayIterator|null |
|
33 | 34 | */ |
34 | 35 | public function getBlockStartParsers(): iterable; |
35 | 36 | |
@@ -54,6 +55,7 @@ discard block |
||
54 | 55 | |
55 | 56 | /** |
56 | 57 | * Dispatches the given event to listeners |
58 | + * @return void |
|
57 | 59 | */ |
58 | 60 | public function dispatch(AbstractEvent $event): void; |
59 | 61 | } |