Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mpyw committed Jun 28, 2020
1 parent 60bbee0 commit 7f960bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ The first closure corresponds to `comments` and the second one corresponds to `a
```php
Builder::hasByNonDependentSubquery(
'comments.author',
fn (Builder $query) => $query->withTrashed(),
fn (Builder $query) => $query->whereKey(123)
fn (HasMany $query) => $query->withTrashed(),
fn (BelongsTo $query) => $query->whereKey(123)
)
```

Expand Down

0 comments on commit 7f960bb

Please sign in to comment.