@@ -7,7 +7,6 @@ |
||
| 7 | 7 | |
| 8 | 8 | namespace paulzi\nestedsets; |
| 9 | 9 | |
| 10 | -use Yii; |
|
| 11 | 10 | use yii\base\Behavior; |
| 12 | 11 | use yii\base\Exception; |
| 13 | 12 | use yii\base\NotSupportedException; |
@@ -216,7 +216,7 @@ |
||
| 216 | 216 | * Populate children relations for self and all descendants |
| 217 | 217 | * @param int $depth = null |
| 218 | 218 | * @param string|array $with = null |
| 219 | - * @return static |
|
| 219 | + * @return ActiveRecord |
|
| 220 | 220 | */ |
| 221 | 221 | public function populateTree($depth = null, $with = null) |
| 222 | 222 | { |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | use paulzi\nestedsets\tests\migrations\TestMigration; |
| 11 | 11 | use paulzi\nestedsets\tests\models\MultipleTreeNode; |
| 12 | 12 | use paulzi\nestedsets\tests\models\Node; |
| 13 | -use Yii; |
|
| 14 | 13 | |
| 15 | 14 | /** |
| 16 | 15 | * @author PaulZi <[email protected]> |