@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | * @param array $extra Extra-meta data |
| 174 | 174 | * @param boolean $isHTMLAllowed A boolean indicating whether it's okay to insert HTML tags into the result |
| 175 | 175 | * |
| 176 | - * @return bool|mixed|string |
|
| 176 | + * @return string|null |
|
| 177 | 177 | */ |
| 178 | 178 | public function getShortcodeReplacementText($tag, $extra = array(), $isHTMLAllowed = true) |
| 179 | 179 | { |
@@ -197,6 +197,9 @@ discard block |
||
| 197 | 197 | |
| 198 | 198 | // -------------------------------------------------------------------------------------------------------------- |
| 199 | 199 | |
| 200 | + /** |
|
| 201 | + * @param DOMElement $node |
|
| 202 | + */ |
|
| 200 | 203 | protected function removeNode($node) |
| 201 | 204 | { |
| 202 | 205 | $node->parentNode->removeChild($node); |