@@ -7,7 +7,6 @@ |
||
7 | 7 | |
8 | 8 | namespace paulzi\nestedintervals; |
9 | 9 | |
10 | -use Yii; |
|
11 | 10 | use yii\base\Behavior; |
12 | 11 | use yii\base\Exception; |
13 | 12 | use yii\base\NotSupportedException; |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | * Populate children relations for self and all descendants |
268 | 268 | * @param int $depth = null |
269 | 269 | * @param string|array $with = null |
270 | - * @return static |
|
270 | + * @return ActiveRecord |
|
271 | 271 | */ |
272 | 272 | public function populateTree($depth = null, $with = null) |
273 | 273 | { |
@@ -626,7 +626,7 @@ discard block |
||
626 | 626 | } |
627 | 627 | |
628 | 628 | /** |
629 | - * @return mixed |
|
629 | + * @return string |
|
630 | 630 | * @throws Exception |
631 | 631 | */ |
632 | 632 | protected function getPrimaryKey() |
@@ -869,7 +869,7 @@ discard block |
||
869 | 869 | * @param int $freeSize |
870 | 870 | * @param int|null $targetDepth |
871 | 871 | * @param array $additional |
872 | - * @return int|null |
|
872 | + * @return integer |
|
873 | 873 | * @throws Exception |
874 | 874 | * @throws \yii\db\Exception |
875 | 875 | */ |
@@ -1119,7 +1119,7 @@ discard block |
||
1119 | 1119 | /** |
1120 | 1120 | * @param int $left |
1121 | 1121 | * @param int $right |
1122 | - * @return bool|int |
|
1122 | + * @return integer |
|
1123 | 1123 | */ |
1124 | 1124 | protected function findUnallocatedAll($left, $right) |
1125 | 1125 | { |