Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 0653ec9

Browse files
committed
cleanup phpdoc
1 parent 00b2031 commit 0653ec9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Model/MenuNode.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ public function setLocale($locale)
7878
}
7979

8080
/**
81-
* Return the content document associated with this menu node
81+
* Return the content document associated with this menu node.
8282
*
83-
* @return object - ODM document
83+
* @return object the content of this menu node
8484
*/
8585
public function getContent()
8686
{
@@ -90,8 +90,8 @@ public function getContent()
9090
/**
9191
* Set the content document associated with this menu node
9292
*
93-
* NOTE: The content document must be mapped by PHPCR-ODM so that it can be
94-
* persisted.
93+
* NOTE: When using doctrine, the content must be mapped for doctrine and
94+
* be persisted or cascading be configured on the content field.
9595
*
9696
* @param object $content
9797
*

0 commit comments

Comments
 (0)