@@ -6,10 +6,10 @@ |
||
| 6 | 6 | use GuzzleHttp\Psr7\Uri; |
| 7 | 7 | use GuzzleHttp\Ring\Future\CompletedFutureArray; |
| 8 | 8 | use Illuminate\Support\Arr; |
| 9 | +use Monolog\Handler\StreamHandler; |
|
| 10 | +use Monolog\Logger; |
|
| 9 | 11 | use Psr\Http\Message\ResponseInterface; |
| 10 | 12 | use Psr\Log\LoggerInterface; |
| 11 | -use Monolog\Logger; |
|
| 12 | -use Monolog\Handler\StreamHandler; |
|
| 13 | 13 | |
| 14 | 14 | |
| 15 | 15 | class Factory |
@@ -135,7 +135,8 @@ |
||
| 135 | 135 | ); |
| 136 | 136 | |
| 137 | 137 | // Get curl stats |
| 138 | - $http_stats = new class { |
|
| 138 | + $http_stats = new class |
|
| 139 | + { |
|
| 139 | 140 | public $data = []; |
| 140 | 141 | public function __invoke(...$args) |
| 141 | 142 | { |