Skip to content

Commit

Permalink
Improve Formatter code
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Feb 18, 2016
1 parent 3c3ce96 commit 3053933
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Formatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 3053933

Please sign in to comment.