Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Fix - removed double port assign
Browse files Browse the repository at this point in the history
  • Loading branch information
mtagliab committed Sep 23, 2019
1 parent 17d32d0 commit 1f4b6c7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Uri.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,6 @@ public function parse($uri)
$this->setPort((int) $port);
}

$this->setPort((int) $port);
$authority = substr($authority, 0, -$portLength);
}

Expand Down

0 comments on commit 1f4b6c7

Please sign in to comment.