Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Mar 30, 2024
1 parent a3205c8 commit 9594786
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,9 +360,9 @@ var_dump(Finder::rows(

// WITH gather only limited found data
$data = [1, 2];
var_dump(Finder::rows(
$data,
static fn($datum): bool => $datum >= 0,
limit: 1
)); // [1]
$filter = static fn($datum): bool => $datum >= 0;

var_dump(
Finder::rows($data, $filter, limit: 1)
); // [1]
```

0 comments on commit 9594786

Please sign in to comment.