File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -630,7 +630,7 @@ $result = Str::doesntStartWith('This is my name', 'That');
630
630
If an array of possible values is passed, the ` doesntStartWith ` method will return ` true ` if the string doesn't begin with any of the given values:
631
631
632
632
``` php
633
- $result = Str::doesntStartWith('This is my name', ['This ', 'That', 'There']);
633
+ $result = Str::doesntStartWith('This is my name', ['What ', 'That', 'There']);
634
634
635
635
// true
636
636
```
@@ -2317,7 +2317,7 @@ You may also pass an array of values to determine if the given string doesn't st
2317
2317
``` php
2318
2318
use Illuminate\Support\Str;
2319
2319
2320
- $result = Str::of('This is my name')->doesntStartWith(['This ', 'That', 'There']);
2320
+ $result = Str::of('This is my name')->doesntStartWith(['What ', 'That', 'There']);
2321
2321
2322
2322
// true
2323
2323
```
You can’t perform that action at this time.
0 commit comments