Skip to content

Commit ce23398

Browse files
committed
wip
1 parent 67d75a9 commit ce23398

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

strings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ The `Str::isUrl` method determines if the given string is a valid URL:
559559

560560
// false
561561

562-
The `isUrl` method considers a wide range of protocols as valid. However, you may specify the only protocols that should be considered valid by providing them to the `isUrl` method:
562+
The `isUrl` method considers a wide range of protocols as valid. However, you may specify the protocols that should be considered valid by providing them to the `isUrl` method:
563563

564564
$isUrl = Str::isUrl('http://example.com', ['http', 'https']);
565565

@@ -1762,7 +1762,7 @@ The `isUrl` method determines if a given string is a URL:
17621762

17631763
// false
17641764

1765-
The `isUrl` method considers a wide range of protocols as valid. However, you may specify the only protocols that should be considered valid by providing them to the `isUrl` method:
1765+
The `isUrl` method considers a wide range of protocols as valid. However, you may specify the protocols that should be considered valid by providing them to the `isUrl` method:
17661766

17671767
$result = Str::of('http://example.com')->isUrl(['http', 'https']);
17681768

0 commit comments

Comments
 (0)