From 84e97067cd9705f0dc40ef8047dc6c1f016bb121 Mon Sep 17 00:00:00 2001 From: Ignace Nyamagana Butera Date: Tue, 8 Jun 2021 21:43:54 +0200 Subject: [PATCH] coding style fix --- src/Uri.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Uri.php b/src/Uri.php index c33836fa6..7f359bf36 100644 --- a/src/Uri.php +++ b/src/Uri.php @@ -372,7 +372,6 @@ private function formatRegisteredName(string $host): string { $formatted_host = rawurldecode($host); if (1 === preg_match(self::REGEXP_HOST_REGNAME, $formatted_host)) { - Idna::toUnicode($host, Idna::IDNA2008_UNICODE); return $formatted_host;