@@ -34,7 +34,7 @@ |
||
34 | 34 | * |
35 | 35 | * @param array $config |
36 | 36 | * |
37 | - * @return \Elasticsearch\Client|mixed |
|
37 | + * @return Client |
|
38 | 38 | */ |
39 | 39 | public function make(array $config) |
40 | 40 | { |
@@ -157,7 +157,7 @@ |
||
157 | 157 | 'status' => $response->getStatusCode(), |
158 | 158 | 'headers' => $response->getHeaders(), |
159 | 159 | 'body' => $response->getBody() |
160 | - ->detach(), |
|
160 | + ->detach(), |
|
161 | 161 | 'transfer_stats' => [ |
162 | 162 | 'total_time' => $http_stats->data["total_time"] ?? 0, |
163 | 163 | "primary_port" => $http_stats->data["primary_port"] ?? '' |