@@ -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); |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | public function getConfig(?string $key = null, $default = null); |
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | - * @return iterable<BlockStartParserInterface> |
|
| 33 | + * @return \Traversable |
|
| 34 | 34 | */ |
| 35 | 35 | public function getBlockStartParsers(): iterable; |
| 36 | 36 | |
@@ -55,6 +55,7 @@ discard block |
||
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | 57 | * Dispatches the given event to listeners |
| 58 | + * @return void |
|
| 58 | 59 | */ |
| 59 | 60 | public function dispatch(AbstractEvent $event): void; |
| 60 | 61 | } |