Skip to content

Commit 3fb8329

Browse files
committed
update example
1 parent 18d6164 commit 3fb8329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helpers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1859,7 +1859,7 @@ If you specify a matching group within the expression, Laravel will return a col
18591859

18601860
use Illuminate\Support\Str;
18611861

1862-
$result = Str::of('bar fun bar fly')->match('/f(\w*)/');
1862+
$result = Str::of('bar fun bar fly')->matchAll('/f(\w*)/');
18631863

18641864
// collect(['un', 'ly']);
18651865

0 commit comments

Comments
 (0)