diff --git a/src/Formatter.php b/src/Formatter.php index e1bf3d08..86f9aa5b 100644 --- a/src/Formatter.php +++ b/src/Formatter.php @@ -321,8 +321,7 @@ protected function formatAuthority($uri) } return '//'.$this->buildUserInfo($components['user'], $components['pass']) - .$this->formatHost(new Host($components['host'])) - .$port; + .$this->formatHost(new Host($components['host'])).$port; } /**