Completed
Pull Request — master (#6722)
by Damian
07:46
created
src/View/Parsers/ShortcodeParser.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.