浏览代码

Merge pull request #9707 from HughbertD/hugh-small-doc-correction

Add closing ' mark
Mark Sch 9 年之前
父节点
当前提交
888868fd33
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/ORM/Table.php

+ 1 - 1
src/ORM/Table.php

@@ -2206,7 +2206,7 @@ class Table implements RepositoryInterface, EventListenerInterface, EventDispatc
      *
      * ```
      * $article = $this->Articles->patchEntity($article, $this->request->data(), [
-     *  'fieldList' => ['title', 'body', 'tags', 'comments],
+     *  'fieldList' => ['title', 'body', 'tags', 'comments'],
      *  'associated' => ['Tags', 'Comments.Users' => ['fieldList' => 'username']]
      *  ]
      * );