@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | } |
113 | 113 | |
114 | 114 | /** |
115 | - * @param string|string[] $characters |
|
115 | + * @param string[] $characters |
|
116 | 116 | * |
117 | 117 | * @return DelimiterInterface|null |
118 | 118 | */ |
@@ -133,6 +133,9 @@ discard block |
||
133 | 133 | return $opener; |
134 | 134 | } |
135 | 135 | |
136 | + /** |
|
137 | + * @param DelimiterInterface|null $stackBottom |
|
138 | + */ |
|
136 | 139 | public function processDelimiters(?DelimiterInterface $stackBottom, DelimiterProcessorCollection $processors) |
137 | 140 | { |
138 | 141 | $openersBottom = []; |
@@ -33,7 +33,7 @@ |
||
33 | 33 | public function getConfig($key = null, $default = null); |
34 | 34 | |
35 | 35 | /** |
36 | - * @return iterable<BlockParserInterface> |
|
36 | + * @return \ArrayIterator|null |
|
37 | 37 | */ |
38 | 38 | public function getBlockParsers(): iterable; |
39 | 39 |
@@ -89,7 +89,7 @@ |
||
89 | 89 | * @param string $charBefore |
90 | 90 | * @param string $charAfter |
91 | 91 | * |
92 | - * @return bool[] |
|
92 | + * @return boolean[] |
|
93 | 93 | */ |
94 | 94 | private function determineFlanking($charBefore, $charAfter) |
95 | 95 | { |
@@ -15,8 +15,8 @@ |
||
15 | 15 | namespace League\CommonMark\Extension\SmartPunct; |
16 | 16 | |
17 | 17 | use League\CommonMark\Delimiter\Delimiter; |
18 | -use League\CommonMark\Inline\Parser\InlineParserInterface; |
|
19 | 18 | use League\CommonMark\InlineParserContext; |
19 | +use League\CommonMark\Inline\Parser\InlineParserInterface; |
|
20 | 20 | use League\CommonMark\Util\RegexHelper; |
21 | 21 | |
22 | 22 | final class QuoteParser implements InlineParserInterface |