You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
preg_match(self::REGEXP_HOST_GEN_DELIMS, $formattedHost) => thrownewSyntaxError('The host `'.$host.'` is invalid : a registered name can not contain URI delimiters or spaces.'),
311
+
preg_match(self::REGEXP_HOST_GEN_DELIMS, $formattedHost) => thrownewSyntaxError('The host `'.$host.'` is invalid : a registered name cannot contain URI delimiters or spaces.'),
312
312
default => IdnConverter::toAsciiOrFail($host),
313
313
};
314
314
}
@@ -428,7 +428,7 @@ public static function fromBaseUri(Stringable|string $uri, Stringable|string|nul
428
428
* Creates a new instance from a template.
429
429
*
430
430
* @throws TemplateCanNotBeExpanded if the variables are invalid or missing
431
-
* @throws UriException if the resulting expansion can not be converted to a UriInterface instance
431
+
* @throws UriException if the resulting expansion cannot be converted to a UriInterface instance
0 commit comments