private function normalizeDefaultPort()
{
switch ($this->scheme) {
case 'http':
$this->port = $this->port == 80 ? '' : $this->port;
break;
case 'https':
$this->port = $this->port == 443 ? '' : $this->port;
break;
case 'ftp':
$this->port = $this->port == 21 ? '' : $this->port;
break;
case 'ftps':
$this->port = $this->port == 990 ? '' : $this->port;
break;
case 'smtp':
$this->port = $this->port == 25 ? '' : $this->port;
break;
}
}