@@ -10,7 +10,6 @@ |
||
10 | 10 | use paulzi\adjacencylist\tests\migrations\TestMigration; |
11 | 11 | use paulzi\adjacencylist\tests\models\Node; |
12 | 12 | use paulzi\adjacencylist\tests\models\NodeJoin; |
13 | -use Yii; |
|
14 | 13 | |
15 | 14 | /** |
16 | 15 | * @author PaulZi <[email protected]> |
@@ -427,7 +427,7 @@ discard block |
||
427 | 427 | * Populate children relations for self and all descendants |
428 | 428 | * |
429 | 429 | * @param int $depth = null |
430 | - * @return static |
|
430 | + * @return ActiveRecord |
|
431 | 431 | */ |
432 | 432 | public function populateTree($depth = null) |
433 | 433 | { |
@@ -661,7 +661,7 @@ discard block |
||
661 | 661 | } |
662 | 662 | |
663 | 663 | /** |
664 | - * @return mixed |
|
664 | + * @return string |
|
665 | 665 | * @throws Exception |
666 | 666 | */ |
667 | 667 | protected function getPrimaryKey() |