| @@ 83-85 (lines=3) @@ | ||
| 80 | if ($this->components['user'] !== '') { |
|
| 81 | $this->authority .= $this->components['user']; |
|
| 82 | ||
| 83 | if ($this->components['pass'] !== '') { |
|
| 84 | $this->authority .= ':'.$this->components['pass']; |
|
| 85 | } |
|
| 86 | ||
| 87 | $this->authority .= '@'; |
|
| 88 | } |
|
| @@ 108-110 (lines=3) @@ | ||
| 105 | ||
| 106 | $this->authority .= $this->components['host']; |
|
| 107 | ||
| 108 | if ($this->components['port'] !== '') { |
|
| 109 | $this->authority .= ':'.$this->components['port']; |
|
| 110 | } |
|
| 111 | ||
| 112 | $this->authority = trim($this->authority); |
|
| 113 | } |
|