Skip to content

Commit

Permalink
Fixing Comment
Browse files Browse the repository at this point in the history
Renamed from childrenKey to nestingKey and forgot to fix comment
  • Loading branch information
darensipes committed Jul 16, 2016
1 parent 3ba4187 commit 29e802b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ORM/Table.php
Expand Up @@ -1085,14 +1085,14 @@ public function findList(Query $query, array $options)
*
* You can customize what fields are used for nesting results, by default the
* primary key and the `parent_id` fields are used. If you wish to change
* these defaults you need to provide the keys `keyField`, `parentField` or `childrenKey` in
* these defaults you need to provide the keys `keyField`, `parentField` or `nestingKey` in
* `$options`:
*
* ```
* $table->find('threaded', [
* 'keyField' => 'id',
* 'parentField' => 'ancestor_id'
* 'childrenKey' => 'children'
* 'nestingKey' => 'children'
* ]);
* ```
*
Expand Down

0 comments on commit 29e802b

Please sign in to comment.