Skip to content

Commit c73b63b

Browse files
committed
Rename UriString method name
1 parent aca6aae commit c73b63b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Rfc3986/Uri.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static function parse(string $uri, ?self $baseUri = null): ?Uri
6868
public function __construct(string $uri, ?self $baseUri = null)
6969
{
7070
!str_contains($uri, "\0") || throw new ValueError('Argument #1 ($uri) must not contain any null bytes');
71-
UriString::containsValidRfc3986Characters($uri) || throw new InvalidUriException('The URI `'.$uri.'` contains invalid RFC3986 characters.');
71+
UriString::containsRfc3986Chars($uri) || throw new InvalidUriException('The URI `'.$uri.'` contains invalid RFC3986 characters.');
7272

7373
try {
7474
$uri = null !== $baseUri ? UriString::resolve($uri, $baseUri->toRawString()) : $uri;

0 commit comments

Comments
 (0)