Browse Source

Minor docblock fix

Ceeram 11 years ago
parent
commit
a81d97e35c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ORM/Table.php

+ 1 - 1
src/ORM/Table.php

@@ -1875,7 +1875,7 @@ class Table implements RepositoryInterface, EventListenerInterface
      * passing the `fieldList` option, which is also accepted for associations:
      *
      * {{{
-     * $articles = $this->Articles->patchEntity($article, $this->request->data(), [
+     * $article = $this->Articles->patchEntity($article, $this->request->data(), [
      *  'fieldList' => ['title', 'body'],
      *  'associated' => ['Tags', 'Comments.Users' => ['fieldList' => 'username']]
      *  ]