diff --git a/src/Models/NodeTrait.php b/src/Models/NodeTrait.php index aac24fe..80a0611 100644 --- a/src/Models/NodeTrait.php +++ b/src/Models/NodeTrait.php @@ -193,7 +193,7 @@ public function hasAncestors(): bool } /** - * @return \Illuminate\Database\Eloquent\Model|\Exolnet\ClosureTable\Contracts\NodeInterface + * @return $this|null */ public function getParent() { @@ -213,7 +213,7 @@ public function hasParent(): bool } /** - * @return \Illuminate\Database\Eloquent\Model|\Exolnet\ClosureTable\Contracts\NodeInterface + * @return $this|null */ public function getRoot() {