@@ -142,7 +142,7 @@ |
||
142 | 142 | */ |
143 | 143 | public function send(string $data, int $conn = 0) : bool |
144 | 144 | { |
145 | - return $this->connected($conn) ? !! $this->client->send($data) : false; |
|
145 | + return $this->connected($conn) ? !!$this->client->send($data) : false; |
|
146 | 146 | } |
147 | 147 | |
148 | 148 | /** |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | } |
66 | 66 | |
67 | 67 | ($this->waits[$conn] ?? $this->waits[$conn] = Promise::deferred()) |
68 | - ->then(function (object $sock, int $conn) use ($do) { |
|
68 | + ->then(function(object $sock, int $conn) use ($do) { |
|
69 | 69 | /** |
70 | 70 | * @var static $sock |
71 | 71 | */ |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | */ |
85 | 85 | public function write(string $data, int $conn = 0) : bool |
86 | 86 | { |
87 | - return $this->ifWritable(static function (TCP $sock, int $conn) use ($data) { |
|
87 | + return $this->ifWritable(static function(TCP $sock, int $conn) use ($data) { |
|
88 | 88 | return $sock->send($data, $conn); |
89 | 89 | }, $conn); |
90 | 90 | } |