This commit is contained in:
Marcel Pociot
2020-06-16 23:55:03 +02:00
parent 76ff60f114
commit 428be88dbc

View File

@@ -70,7 +70,7 @@ class Client
public function connectToServer(string $sharedUrl, $subdomain, $authToken = ''): PromiseInterface
{
$deferred = new \React\Promise\Deferred();
$deferred = new Deferred();
$promise = $deferred->promise();
$wsProtocol = $this->configuration->port() === 443 ? "wss" : "ws";