From 428be88dbca2c8013d02a59d3cbf0b6d50883baa Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Tue, 16 Jun 2020 23:55:03 +0200 Subject: [PATCH] wip --- app/Client/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Client/Client.php b/app/Client/Client.php index 6412ea6..4b090b6 100644 --- a/app/Client/Client.php +++ b/app/Client/Client.php @@ -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";