Browse Source

Also updating doc blocks

Jose Lorenzo Rodriguez 11 years ago
parent
commit
f97f5c76e7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/ORM/Table.php

+ 2 - 2
src/ORM/Table.php

@@ -1566,7 +1566,7 @@ class Table implements RepositoryInterface, EventListener {
  * {{{
  * $articles = $this->Articles->newEntity(
  *   $this->request->data(),
- *   ['Tags', 'Comments' => ['associated' => ['Users']]]
+ *   ['Tags', 'Comments.Users']
  * );
  * }}}
  *
@@ -1589,7 +1589,7 @@ class Table implements RepositoryInterface, EventListener {
  * {{{
  * $articles = $this->Articles->newEntities(
  *   $this->request->data(),
- *   ['Tags', 'Comments' => ['associated' => ['Users']]]
+ *   ['Tags', 'Comments.Users']
  * );
  * }}}
  *