File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/PHPCR/Util/CND/Parser Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -532,14 +532,14 @@ protected function parseChildNodeDef(NodeTypeTemplateInterface $nodeType)
532532 $ childType = $ this ->ntm ->createNodeDefinitionTemplate ();
533533 $ nodeType ->getNodeDefinitionTemplates ()->append ($ childType );
534534
535- // Parse the property name
535+ // Parse the child name
536536 if ($ this ->checkAndExpectToken (Token::TK_SYMBOL , '* ' )) {
537537 $ childType ->setName ('* ' );
538538 } else {
539539 $ childType ->setName ($ this ->parseCndString ());
540540 }
541541
542- // Parse the required types
542+ // Parse the required primary types
543543 if ($ this ->checkAndExpectToken (Token::TK_SYMBOL , '( ' )) {
544544 if ($ this ->checkAndExpectToken (Token::TK_SYMBOL , '? ' )) {
545545 $ list = '? ' ;
@@ -550,7 +550,7 @@ protected function parseChildNodeDef(NodeTypeTemplateInterface $nodeType)
550550 $ childType ->setRequiredPrimaryTypeNames ($ list );
551551 }
552552
553- // Parse the default type
553+ // Parse the default primary type
554554 if ($ this ->checkAndExpectToken (Token::TK_SYMBOL , '= ' )) {
555555 $ childType ->setDefaultPrimaryTypeName ($ this ->parseCndString ());
556556 }
You can’t perform that action at this time.
0 commit comments