From 3f458e0c4d1ddc0e218d7a5b9420127c63925f43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Jensen?= Date: Mon, 21 Aug 2023 12:33:06 +0200 Subject: [PATCH] Dependencies update --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 29cee6f..0fd9bed 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Will attempt to normalize paths, e.g. `./a/./path/../to//something` will transfo `IDNA` -Will IDNA-convert host using non-ASCII characters. +Will IDNA-convert host using non-ASCII characters. Only available with [Intl extension](https://www.php.net/manual/en/intl.installation.php). ### Examples @@ -46,7 +46,7 @@ Will IDNA-convert host using non-ASCII characters. ```php $uri = new Uri('http://example.com'); $uri->getPort(Uri::REQUIRE_PORT); // => 80 -$uri->toString(Uri::REQUIRE_PORTH); // => 'http://example.com:80' +$uri->toString(Uri::REQUIRE_PORT); // => 'http://example.com:80' $uri = new Uri('a/./path/../to//something'); $uri->getPath(Uri::ABSOLUTE_PATH | Uri::NORMALIZE_PATH); // => '/a/to/something'