@@ -266,7 +266,7 @@ discard block |
||
| 266 | 266 | /** |
| 267 | 267 | * Populate children relations for self and all descendants |
| 268 | 268 | * @param int $depth = null |
| 269 | - * @return static |
|
| 269 | + * @return ActiveRecord |
|
| 270 | 270 | */ |
| 271 | 271 | public function populateTree($depth = null) |
| 272 | 272 | { |
@@ -615,7 +615,7 @@ discard block |
||
| 615 | 615 | } |
| 616 | 616 | |
| 617 | 617 | /** |
| 618 | - * @return mixed |
|
| 618 | + * @return string |
|
| 619 | 619 | * @throws Exception |
| 620 | 620 | */ |
| 621 | 621 | protected function getPrimaryKey() |
@@ -858,7 +858,7 @@ discard block |
||
| 858 | 858 | * @param int $freeSize |
| 859 | 859 | * @param int|null $targetDepth |
| 860 | 860 | * @param array $additional |
| 861 | - * @return int|null |
|
| 861 | + * @return integer |
|
| 862 | 862 | * @throws Exception |
| 863 | 863 | * @throws \yii\db\Exception |
| 864 | 864 | */ |
@@ -1108,7 +1108,7 @@ discard block |
||
| 1108 | 1108 | /** |
| 1109 | 1109 | * @param int $left |
| 1110 | 1110 | * @param int $right |
| 1111 | - * @return bool|int |
|
| 1111 | + * @return integer |
|
| 1112 | 1112 | */ |
| 1113 | 1113 | protected function findUnallocatedAll($left, $right) |
| 1114 | 1114 | { |
@@ -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; |