@@ -145,7 +145,8 @@ discard block |
||
| 145 | 145 | ); |
| 146 | 146 | |
| 147 | 147 | // Get curl stats |
| 148 | - $http_stats = new class { |
|
| 148 | + $http_stats = new class |
|
| 149 | + { |
|
| 149 | 150 | public $data = []; |
| 150 | 151 | public function __invoke(...$args) |
| 151 | 152 | { |
@@ -183,8 +184,7 @@ discard block |
||
| 183 | 184 | if($ES_api_id != '') |
| 184 | 185 | { |
| 185 | 186 | return $clientBuilder->setApiKey($ES_api_id,$ES_api_key)->build(); |
| 186 | - } |
|
| 187 | - else { |
|
| 187 | + } else { |
|
| 188 | 188 | return $clientBuilder->build(); |
| 189 | 189 | } |
| 190 | 190 | } |