Skip to content

Commit

Permalink
Updated Glob::filter() and Glob::reject() documentation in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
PHLAK committed May 17, 2021
1 parent a6bb1d0 commit 7724611
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 @@ -163,7 +163,7 @@ Glob::matchWithin('bar', 'foo/baz/qux.txt'); // false
Filter an array of strings to values matching a glob pattern.

```php
Glob::pattern('**.txt')->filter([
Glob::filter('**.txt', [
'foo', 'foo.txt', 'bar.zip', 'foo/bar.png', 'foo/bar.txt',
]);

Expand All @@ -177,7 +177,7 @@ Glob::pattern('**.txt')->filter([
Filter an array of strings to values *not* matching a glob pattern.

```php
Glob::pattern('**.txt')->reject([
Glob::reject('**.txt', [
'foo', 'foo.txt', 'bar.zip', 'foo/bar.png', 'foo/bar.txt',
]);

Expand Down

0 comments on commit 7724611

Please sign in to comment.