@@ -141,7 +141,7 @@ public function onCodeBlock($code, $hint = null)
141141 $ hintAttribute = $ this ->document ->createAttribute (KeyNameTranslator::ATTRIBUTE_CODE_HINT );
142142 $ hintAttribute ->appendChild ($ this ->document ->createTextNode ($ hint ));
143143 $ codeNode ->appendChild ($ hintAttribute );
144- /** @var \DOMElement $parent */
144+ /* @var \DOMElement $parent */
145145 $ parent = $ this ->blockParents ->get ();
146146 $ parent ->appendChild ($ codeNode );
147147 }
@@ -159,7 +159,7 @@ public function onCommentBlock($comment)
159159 if (!empty ($ comment )) {
160160 $ commentNode ->appendChild ($ this ->createTextNode ($ comment ));
161161 }
162- /** @var \DOMElement $parent */
162+ /* @var \DOMElement $parent */
163163 $ parent = $ this ->blockParents ->get ();
164164 $ parent ->appendChild ($ commentNode );
165165 }
@@ -169,7 +169,7 @@ public function onCommentBlock($comment)
169169 */
170170 public function onDivisionBlock ()
171171 {
172- /** @var \DOMElement $parent */
172+ /* @var \DOMElement $parent */
173173 $ parent = $ this ->blockParents ->get ();
174174 $ parent ->appendChild ($ this ->document ->createElement (KeyNameTranslator::TYPE_DIVISION ));
175175 }
@@ -184,7 +184,7 @@ public function onHeadingBlockBegin($level)
184184 $ levelAttribute = $ this ->document ->createAttribute (KeyNameTranslator::ATTRIBUTE_HEADING_LEVEL );
185185 $ levelAttribute ->appendChild ($ this ->document ->createTextNode ((string )$ level ));
186186 $ headingNode ->appendChild ($ levelAttribute );
187- /** @var \DOMElement $parent */
187+ /* @var \DOMElement $parent */
188188 $ parent = $ this ->blockParents ->get ();
189189 $ parent ->appendChild ($ headingNode );
190190 $ this ->contentParents ->push ($ headingNode );
@@ -205,7 +205,7 @@ public function onHeadingBlockEnd($level)
205205 public function onUnorderedListBlockBegin ()
206206 {
207207 $ listNode = $ this ->document ->createElement (KeyNameTranslator::TYPE_UNORDERED_LIST );
208- /** @var \DOMElement $parent */
208+ /* @var \DOMElement $parent */
209209 $ parent = $ this ->blockParents ->get ();
210210 $ parent ->appendChild ($ listNode );
211211 $ this ->listBlocks ->push ($ listNode );
@@ -221,7 +221,7 @@ public function onOrderedListBlockBegin($startIndex)
221221 $ startIndexAttribute = $ this ->document ->createAttribute (KeyNameTranslator::ATTRIBUTE_ORDERED_LIST_START_INDEX );
222222 $ startIndexAttribute ->appendChild ($ this ->document ->createTextNode ((string )$ startIndex ));
223223 $ listNode ->appendChild ($ startIndexAttribute );
224- /** @var \DOMElement $parent */
224+ /* @var \DOMElement $parent */
225225 $ parent = $ this ->blockParents ->get ();
226226 $ parent ->appendChild ($ listNode );
227227 $ this ->listBlocks ->push ($ listNode );
@@ -240,7 +240,7 @@ public function onListItemsBegin()
240240 public function onListItemBegin ()
241241 {
242242 $ listItemNode = $ this ->document ->createElement (KeyNameTranslator::TYPE_LIST_ITEM );
243- /** @var \DOMElement $parent */
243+ /* @var \DOMElement $parent */
244244 $ parent = $ this ->listBlocks ->get ();
245245 $ parent ->appendChild ($ listItemNode );
246246 $ this ->blockParents ->push ($ listItemNode );
@@ -291,7 +291,7 @@ public function onOrderedListBlockEnd($startIndex)
291291 public function onParagraphBlockBegin ()
292292 {
293293 $ paragraphNode = $ this ->document ->createElement (KeyNameTranslator::TYPE_PARAGRAPH );
294- /** @var \DOMElement $parent */
294+ /* @var \DOMElement $parent */
295295 $ parent = $ this ->blockParents ->get ();
296296 $ parent ->appendChild ($ paragraphNode );
297297 $ this ->contentParents ->push ($ paragraphNode );
@@ -311,7 +311,7 @@ public function onParagraphBlockEnd()
311311 public function onQuoteBlockBegin ()
312312 {
313313 $ quoteNode = $ this ->document ->createElement (KeyNameTranslator::TYPE_QUOTE );
314- /** @var \DOMElement $parent */
314+ /* @var \DOMElement $parent */
315315 $ parent = $ this ->blockParents ->get ();
316316 $ parent ->appendChild ($ quoteNode );
317317 $ this ->blockParents ->push ($ quoteNode );
@@ -372,7 +372,7 @@ public function onCodeContent($code)
372372 if (!empty ($ code )) {
373373 $ codeNode ->appendChild ($ this ->createTextNode ($ code ));
374374 }
375- /** @var \DOMElement $parent */
375+ /* @var \DOMElement $parent */
376376 $ parent = $ this ->contentParents ->get ();
377377 $ parent ->appendChild ($ codeNode );
378378 }
@@ -387,7 +387,7 @@ public function onEmphasisContentBegin($level)
387387 $ levelAttribute = $ this ->document ->createAttribute (KeyNameTranslator::ATTRIBUTE_EMPHASIS_LEVEL );
388388 $ levelAttribute ->appendChild ($ this ->document ->createTextNode ($ level ));
389389 $ emphasisNode ->appendChild ($ levelAttribute );
390- /** @var \DOMElement $parent */
390+ /* @var \DOMElement $parent */
391391 $ parent = $ this ->contentParents ->get ();
392392 $ parent ->appendChild ($ emphasisNode );
393393 $ this ->contentParents ->push ($ emphasisNode );
@@ -420,7 +420,7 @@ public function onImageContent($uri, $title = null, $alternative = null)
420420 $ imageNode ->appendChild ($ uriAttribute );
421421 $ imageNode ->appendChild ($ titleAttribute );
422422 $ imageNode ->appendChild ($ alternativeAttribute );
423- /** @var \DOMElement $parent */
423+ /* @var \DOMElement $parent */
424424 $ parent = $ this ->contentParents ->get ();
425425 $ parent ->appendChild ($ imageNode );
426426 }
@@ -436,7 +436,7 @@ public function onLineBreakContent($hard)
436436 $ hardAttribute = $ this ->document ->createAttribute (KeyNameTranslator::ATTRIBUTE_LINE_BREAK_HARD );
437437 $ hardAttribute ->appendChild ($ this ->document ->createTextNode ($ hard ));
438438 $ linebreakNode ->appendChild ($ hardAttribute );
439- /** @var \DOMElement $parent */
439+ /* @var \DOMElement $parent */
440440 $ parent = $ this ->contentParents ->get ();
441441 $ parent ->appendChild ($ linebreakNode );
442442 }
@@ -455,7 +455,7 @@ public function onLinkContentBegin($uri, $title = null)
455455 $ titleAttribute = $ this ->document ->createAttribute (KeyNameTranslator::ATTRIBUTE_LINK_TITLE );
456456 $ titleAttribute ->appendChild ($ this ->document ->createTextNode ($ title ));
457457 $ linkNode ->appendChild ($ titleAttribute );
458- /** @var \DOMElement $parent */
458+ /* @var \DOMElement $parent */
459459 $ parent = $ this ->contentParents ->get ();
460460 $ parent ->appendChild ($ linkNode );
461461 $ this ->contentParents ->push ($ linkNode );
@@ -481,7 +481,7 @@ public function onTextContent($text)
481481 if (!empty ($ text )) {
482482 $ textNode ->appendChild ($ this ->createTextNode ($ text ));
483483 }
484- /** @var \DOMElement $parent */
484+ /* @var \DOMElement $parent */
485485 $ parent = $ this ->contentParents ->get ();
486486 $ parent ->appendChild ($ textNode );
487487 }
0 commit comments