@@ -127,6 +127,9 @@ discard block |
||
127 | 127 | return $text; |
128 | 128 | } |
129 | 129 | |
130 | + /** |
|
131 | + * @param callable|null $handler |
|
132 | + */ |
|
130 | 133 | private function processHandler(ParsedShortcodeInterface $parsed, ProcessorContext $context, $handler) |
131 | 134 | { |
132 | 135 | $processed = ProcessedShortcode::createFromContext(clone $context); |
@@ -144,6 +147,9 @@ discard block |
||
144 | 147 | return mb_substr($state, 0, $offset, 'utf-8').$processed->getContent().mb_substr($state, $offset + $length, mb_strlen($state, 'utf-8'), 'utf-8'); |
145 | 148 | } |
146 | 149 | |
150 | + /** |
|
151 | + * @return string |
|
152 | + */ |
|
147 | 153 | private function processRecursion(ParsedShortcodeInterface $shortcode, ProcessorContext $context) |
148 | 154 | { |
149 | 155 | if ($this->autoProcessContent && null !== $shortcode->getContent()) { |