Skip to content

Commit 5cb6c28

Browse files
committed
fix
1 parent 151e824 commit 5cb6c28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function resolveUri(UriInterface $base, UriInterface $uri): UriInterface
6363

6464
function isHttp(string $uri): bool
6565
{
66-
return (bool) preg_match('#^(https?:|\.|/)#', $src);
66+
return (bool) preg_match('#^(https?:|\.|/)#', $uri);
6767
}
6868

6969
function resolvePath(string $base, string $path): string

0 commit comments

Comments
 (0)