@@ -127,10 +127,10 @@ discard block |
||
127 | 127 | /** |
128 | 128 | * Get ancestors of specified node. |
129 | 129 | * |
130 | - * @param mixed $id |
|
130 | + * @param NodeTrait $id |
|
131 | 131 | * @param array $columns |
132 | 132 | * |
133 | - * @return self |
|
133 | + * @return \Illuminate\Database\Eloquent\Collection |
|
134 | 134 | */ |
135 | 135 | public function ancestorsOf($id, array $columns = ['*']) |
136 | 136 | { |
@@ -489,7 +489,7 @@ discard block |
||
489 | 489 | * @param string $col |
490 | 490 | * @param array $params |
491 | 491 | * |
492 | - * @return string |
|
492 | + * @return Expression |
|
493 | 493 | */ |
494 | 494 | protected function columnPatch($col, array $params) |
495 | 495 | { |
@@ -422,7 +422,7 @@ discard block |
||
422 | 422 | /** |
423 | 423 | * Get the boundaries. |
424 | 424 | * |
425 | - * @return array |
|
425 | + * @return integer[] |
|
426 | 426 | */ |
427 | 427 | public function getBounds() |
428 | 428 | { |
@@ -496,7 +496,7 @@ discard block |
||
496 | 496 | * |
497 | 497 | * @param array $columns |
498 | 498 | * |
499 | - * @return \Arcanedev\LaravelNestedSet\Eloquent\Collection|self[] |
|
499 | + * @return EloquentCollection |
|
500 | 500 | */ |
501 | 501 | public function getSiblings(array $columns = ['*']) |
502 | 502 | { |
@@ -508,7 +508,7 @@ discard block |
||
508 | 508 | * |
509 | 509 | * @param array $columns |
510 | 510 | * |
511 | - * @return \Arcanedev\LaravelNestedSet\Eloquent\Collection|self[] |
|
511 | + * @return EloquentCollection |
|
512 | 512 | */ |
513 | 513 | public function getNextSiblings(array $columns = ['*']) |
514 | 514 | { |
@@ -520,7 +520,7 @@ discard block |
||
520 | 520 | * |
521 | 521 | * @param array $columns |
522 | 522 | * |
523 | - * @return \Arcanedev\LaravelNestedSet\Eloquent\Collection|self[] |
|
523 | + * @return EloquentCollection |
|
524 | 524 | */ |
525 | 525 | public function getPrevSiblings(array $columns = ['*']) |
526 | 526 | { |
@@ -1011,7 +1011,7 @@ discard block |
||
1011 | 1011 | * |
1012 | 1012 | * @param int $position |
1013 | 1013 | * |
1014 | - * @return int |
|
1014 | + * @return boolean |
|
1015 | 1015 | */ |
1016 | 1016 | protected function moveNode($position) |
1017 | 1017 | { |
@@ -1153,7 +1153,7 @@ discard block |
||
1153 | 1153 | /** |
1154 | 1154 | * @param array $attributes |
1155 | 1155 | * |
1156 | - * @return self |
|
1156 | + * @return QueryBuilder |
|
1157 | 1157 | */ |
1158 | 1158 | public static function scoped(array $attributes) |
1159 | 1159 | { |