Skip to content

Commit e0b4c09

Browse files
author
Martin Brecht-Precht
committed
Updated the XmlDispatcher
1 parent 1884cbd commit e0b4c09

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Dispatcher/XmlDispatcher.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ private function processBlocks(\DOMNodeList $blocks)
8484
}
8585
$this->eventDispatcher->onCodeBlock($node->textContent, $hint);
8686
break;
87+
case KeyNameTranslator::TYPE_COMMENT:
88+
$this->eventDispatcher->onCommentBlock($node->textContent);
89+
break;
8790
case KeyNameTranslator::TYPE_DIVISION:
8891
$this->eventDispatcher->onDivisionBlock();
8992
break;

0 commit comments

Comments
 (0)