@@ -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 | { |
@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | /** |
326 | 326 | * Get wrapped `lft` and `rgt` column names. |
327 | 327 | * |
328 | - * @return array |
|
328 | + * @return string[] |
|
329 | 329 | */ |
330 | 330 | protected function wrappedColumns() |
331 | 331 | { |
@@ -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 | { |
@@ -564,7 +564,7 @@ discard block |
||
564 | 564 | } |
565 | 565 | |
566 | 566 | /** |
567 | - * @return \Illuminate\Database\Query\Builder |
|
567 | + * @return QueryBuilder |
|
568 | 568 | */ |
569 | 569 | protected function getDuplicatesQuery() |
570 | 570 | { |