Make the tests happy

This commit is contained in:
Michael 2022-07-29 16:05:04 +00:00
parent 2c32429d8d
commit 0971bcf165
5 changed files with 6 additions and 6 deletions

View file

@ -497,7 +497,7 @@ class Network
$parts = parse_url($uri);
if (!empty($parts['scheme']) && !empty($parts['host'])) {
$parts['host'] = idn_to_ascii($parts['host']);
$uri = Uri::fromParts($parts);
$uri = (string)Uri::fromParts($parts);
} else {
$parts = explode('@', $uri);
if (count($parts) == 2) {