@@ -80,7 +80,7 @@ |
||
80 | 80 | * @param string $charBefore |
81 | 81 | * @param string $charAfter |
82 | 82 | * |
83 | - * @return bool[] |
|
83 | + * @return boolean[] |
|
84 | 84 | */ |
85 | 85 | private function determineFlanking(string $charBefore, string $charAfter) |
86 | 86 | { |
@@ -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 |
@@ -149,7 +149,7 @@ |
||
149 | 149 | * @param string $character |
150 | 150 | * @param DelimiterProcessorInterface $delimiterProcessor |
151 | 151 | * |
152 | - * @return bool[] |
|
152 | + * @return boolean[] |
|
153 | 153 | */ |
154 | 154 | private static function determineCanOpenOrClose(string $charBefore, string $charAfter, string $character, DelimiterProcessorInterface $delimiterProcessor) |
155 | 155 | { |
@@ -29,7 +29,7 @@ |
||
29 | 29 | public function getConfig($key = null, $default = null); |
30 | 30 | |
31 | 31 | /** |
32 | - * @return iterable<BlockParserFactoryInterface> |
|
32 | + * @return \ArrayIterator|null |
|
33 | 33 | */ |
34 | 34 | public function getBlockParserFactories(): iterable; |
35 | 35 |
@@ -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); |
@@ -284,7 +284,7 @@ |
||
284 | 284 | } |
285 | 285 | |
286 | 286 | /** |
287 | - * @param int|null $offset |
|
287 | + * @param integer $offset |
|
288 | 288 | * |
289 | 289 | * @return array<int, BlockParserInterface> |
290 | 290 | */ |