From 2703fc7f48af16abdae42d0c938b613ccce62fef Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Wed, 30 Jun 2021 15:15:49 +0200 Subject: [PATCH] CS fix --- Internal/AmpClientState.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Internal/AmpClientState.php b/Internal/AmpClientState.php index 61a0c00..3061f08 100644 --- a/Internal/AmpClientState.php +++ b/Internal/AmpClientState.php @@ -149,7 +149,7 @@ private function getClient(array $options): array public $uri; public $handle; - public function connect(string $uri, ?ConnectContext $context = null, ?CancellationToken $token = null): Promise + public function connect(string $uri, ConnectContext $context = null, CancellationToken $token = null): Promise { $result = $this->connector->connect($this->uri ?? $uri, $context, $token); $result->onResolve(function ($e, $socket) {