@@ -133,7 +133,7 @@ |
||
| 133 | 133 | * Flatten a tree into a non recursive array. |
| 134 | 134 | * |
| 135 | 135 | * @param \Arcanedev\LaravelNestedSet\Eloquent\Collection $groupedNodes |
| 136 | - * @param mixed $parentId |
|
| 136 | + * @param integer $parentId |
|
| 137 | 137 | * |
| 138 | 138 | * @return \Arcanedev\LaravelNestedSet\Eloquent\Collection |
| 139 | 139 | */ |
@@ -324,7 +324,7 @@ discard block |
||
| 324 | 324 | /** |
| 325 | 325 | * Get the boundaries. |
| 326 | 326 | * |
| 327 | - * @return array |
|
| 327 | + * @return integer[] |
|
| 328 | 328 | */ |
| 329 | 329 | public function getBounds() |
| 330 | 330 | { |
@@ -755,7 +755,7 @@ discard block |
||
| 755 | 755 | * |
| 756 | 756 | * @param \Arcanedev\LaravelNestedSet\Contracts\Nodeable $parent |
| 757 | 757 | * |
| 758 | - * @return \Arcanedev\LaravelNestedSet\Contracts\Nodeable |
|
| 758 | + * @return NodeTrait |
|
| 759 | 759 | */ |
| 760 | 760 | public function prependToNode(Nodeable $parent) |
| 761 | 761 | { |
@@ -768,7 +768,7 @@ discard block |
||
| 768 | 768 | * @param \Arcanedev\LaravelNestedSet\Contracts\Nodeable $parent |
| 769 | 769 | * @param bool $prepend |
| 770 | 770 | * |
| 771 | - * @return \Arcanedev\LaravelNestedSet\Contracts\Nodeable |
|
| 771 | + * @return NodeTrait |
|
| 772 | 772 | */ |
| 773 | 773 | public function appendOrPrependTo(Nodeable $parent, $prepend = false) |
| 774 | 774 | { |
@@ -785,7 +785,7 @@ discard block |
||
| 785 | 785 | * |
| 786 | 786 | * @param \Arcanedev\LaravelNestedSet\Contracts\Nodeable $node |
| 787 | 787 | * |
| 788 | - * @return \Arcanedev\LaravelNestedSet\Contracts\Nodeable |
|
| 788 | + * @return NodeTrait |
|
| 789 | 789 | */ |
| 790 | 790 | public function afterNode(Nodeable $node) |
| 791 | 791 | { |
@@ -797,7 +797,7 @@ discard block |
||
| 797 | 797 | * |
| 798 | 798 | * @param \Arcanedev\LaravelNestedSet\Contracts\Nodeable $node |
| 799 | 799 | * |
| 800 | - * @return \Arcanedev\LaravelNestedSet\Contracts\Nodeable |
|
| 800 | + * @return NodeTrait |
|
| 801 | 801 | */ |
| 802 | 802 | public function beforeNode(Nodeable $node) |
| 803 | 803 | { |
@@ -810,7 +810,7 @@ discard block |
||
| 810 | 810 | * @param \Arcanedev\LaravelNestedSet\Contracts\Nodeable $node |
| 811 | 811 | * @param bool $after |
| 812 | 812 | * |
| 813 | - * @return \Arcanedev\LaravelNestedSet\Contracts\Nodeable |
|
| 813 | + * @return NodeTrait |
|
| 814 | 814 | */ |
| 815 | 815 | public function beforeOrAfterNode(Nodeable $node, $after = false) |
| 816 | 816 | { |
@@ -915,7 +915,7 @@ discard block |
||
| 915 | 915 | * |
| 916 | 916 | * @param int $position |
| 917 | 917 | * |
| 918 | - * @return int |
|
| 918 | + * @return boolean |
|
| 919 | 919 | */ |
| 920 | 920 | protected function moveNode($position) |
| 921 | 921 | { |
@@ -1015,7 +1015,7 @@ discard block |
||
| 1015 | 1015 | * @param \Illuminate\Database\Eloquent\Builder $query |
| 1016 | 1016 | * @param string $table |
| 1017 | 1017 | * |
| 1018 | - * @return \Arcanedev\LaravelNestedSet\Eloquent\QueryBuilder|\Illuminate\Database\Query\Builder |
|
| 1018 | + * @return \Illuminate\Database\Eloquent\Builder |
|
| 1019 | 1019 | */ |
| 1020 | 1020 | public function applyNestedSetScope($query, $table = null) |
| 1021 | 1021 | { |
@@ -1037,7 +1037,7 @@ discard block |
||
| 1037 | 1037 | /** |
| 1038 | 1038 | * @param array $attributes |
| 1039 | 1039 | * |
| 1040 | - * @return self |
|
| 1040 | + * @return Eloquent\QueryBuilder |
|
| 1041 | 1041 | */ |
| 1042 | 1042 | public static function scoped(array $attributes) |
| 1043 | 1043 | { |
@@ -1166,7 +1166,7 @@ discard block |
||
| 1166 | 1166 | * |
| 1167 | 1167 | * @param \Arcanedev\LaravelNestedSet\Contracts\Nodeable $node |
| 1168 | 1168 | * |
| 1169 | - * @return self |
|
| 1169 | + * @return Nodeable |
|
| 1170 | 1170 | * |
| 1171 | 1171 | * @throws \LogicException |
| 1172 | 1172 | */ |