@@ -51,7 +51,7 @@ |
||
51 | 51 | public function getHost(): string |
52 | 52 | { |
53 | 53 | $host = '' . $this->host; |
54 | - return (preg_match('#^[0-9a-f:]+$#', $host) ? '[' . $host . ']' : $host ); // IPv6 |
|
54 | + return (preg_match('#^[0-9a-f:]+$#', $host) ? '[' . $host . ']' : $host); // IPv6 |
|
55 | 55 | } |
56 | 56 | |
57 | 57 | public function getPort(): ?int |