@@ -37,9 +37,9 @@ |
||
| 37 | 37 | public function connect($host, $port) |
| 38 | 38 | { |
| 39 | 39 | $uri = $host.':'.$port; |
| 40 | - return $this->connector->connect($uri)->then(function (Stream $stream) { |
|
| 40 | + return $this->connector->connect($uri)->then(function(Stream $stream) { |
|
| 41 | 41 | return new Connection($stream, $this->requestFactory); |
| 42 | - }, function (\Exception $e) { |
|
| 42 | + }, function(\Exception $e) { |
|
| 43 | 43 | throw $e; |
| 44 | 44 | }); |
| 45 | 45 | } |