@@ -3,9 +3,9 @@ |
||
3 | 3 | use Elasticsearch\Client; |
4 | 4 | use Elasticsearch\ClientBuilder; |
5 | 5 | use Illuminate\Support\Arr; |
6 | -use Psr\Log\LoggerInterface; |
|
7 | -use Monolog\Logger; |
|
8 | 6 | use Monolog\Handler\StreamHandler; |
7 | +use Monolog\Logger; |
|
8 | +use Psr\Log\LoggerInterface; |
|
9 | 9 | |
10 | 10 | class Factory |
11 | 11 | { |
@@ -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"] ?? '' |