Skip to content

Commit 4607b6f

Browse files
committed
Update README.md
1 parent e7ba292 commit 4607b6f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ return array(
485485
'property' => 'articles'
486486
),
487487

488-
'itemOptions' => array(
488+
'itemsOptions' => array(
489489

490490
// the name of the property added to items
491491
// e.g. $article->category()
@@ -634,6 +634,8 @@ return array(
634634
'property' => 'task'
635635
),
636636

637+
// note it's 'itemOptions' here
638+
// but 'itemsOptions' for One To Many
637639
'itemOptions' => array(
638640

639641
// the name of the property added to items
@@ -1026,4 +1028,4 @@ $topic->replies[2] = $reply;
10261028
10271029
$exists = isset($topic->replies[2]);
10281030
unset($topic->replies[2]);
1029-
```
1031+
```

0 commit comments

Comments
 (0)