1
0
Fork 0
mirror of https://github.com/Oreolek/yii2-nested-sets.git synced 2024-07-01 05:55:00 +03:00

Documentation fixes

This commit is contained in:
Alexander Kochetov 2013-05-06 12:01:52 +04:00
parent 12b4e54958
commit 44d875e191

View file

@ -118,7 +118,7 @@ Using `NestedSet::parent()`:
```php
$category = Category::find(9);
$parent = $category->parent()->find();
$parent = $category->parent()->one();
```
Result:
@ -132,7 +132,7 @@ Using `NestedSet::prev()` or
```php
$category = Category::find(9);
$nextSibling = $category->next()->find();
$nextSibling = $category->next()->one();
```
Result: