From 905dbe3b48c07c971abc7464889347d110f0d39d Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 3 Jun 2018 10:32:52 +0200 Subject: [PATCH] Removed unused code part --- Uri/UriFactory.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Uri/UriFactory.php b/Uri/UriFactory.php index ccfc01fab..b2a600431 100644 --- a/Uri/UriFactory.php +++ b/Uri/UriFactory.php @@ -233,11 +233,6 @@ final class UriFactory return $toMatch[$match] ?? self::$uri[$match] ?? $match; }, $uri); - // todo: maybe don't do this and adjust unique?! - if (\strpos($parsed, '?')) { - \str_replace('&', '?', $parsed); - } - return self::unique($parsed); } }