We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 577e6b2 commit 8da739eCopy full SHA for 8da739e
src/Transports/HttpServer.php
@@ -42,7 +42,7 @@ public function __construct(
42
private readonly bool $runLoop = true,
43
) {
44
$this->listenAddress = "{$host}:{$port}";
45
- $this->protocol = $this->sslContext !== [] ? 'https' : 'http';
+ $this->protocol = !empty($this->sslContext) ? 'https' : 'http';
46
47
$this->mcpPath = '/' . \trim($mcpPath, '/');
48
0 commit comments