Skip to content

Commit a465061

Browse files
authored
Update README.md
1 parent a7796ae commit a465061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The trait provides various relationships:
6161
- `children()`: The model's direct children.
6262
- `nestedChildren()`: The model's nested children.
6363
- `parent()`: The model's direct parent.
64-
- `nestedParent()`: The model's nested parent by object.
64+
- `nestedParents()`: The model's nested parents by object.
6565

6666
```php
6767
$users = User::with('children')->get();

0 commit comments

Comments
 (0)