Skip to content

Commit ea3ea6e

Browse files
committed
Small typo
Believe Books should be in quotes.
1 parent b868b70 commit ea3ea6e

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
@@ -474,7 +474,7 @@ Retrieving a complete tree hierarchy into a regular `Collection` object with
474474
its children *properly nested* is as simple as:
475475

476476
```php
477-
$tree = Category::where('name', '=', Books)->first()->getDescendantsAndSelf()->toHierarchy();
477+
$tree = Category::where('name', '=', 'Books')->first()->getDescendantsAndSelf()->toHierarchy();
478478
```
479479

480480
<a name="node-model-events"></a>

0 commit comments

Comments
 (0)