Skip to content

Commit

Permalink
Improve README
Browse files Browse the repository at this point in the history
  • Loading branch information
staudenmeir committed Apr 25, 2024
1 parent fad5da1 commit d35cfc3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,8 @@ class Comment extends Model
{
return $this->belongsToThrough(
Comment::class,
Comment::class . ' as alias',
null,
'',
[Comment::class => 'parent_id']
Comment::class . ' as alias',
foreignKeyLookup: [Comment::class => 'parent_id']
);
}
}
Expand Down

0 comments on commit d35cfc3

Please sign in to comment.