@@ -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 | { |
@@ -135,9 +135,11 @@ |
||
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 | - public function __invoke(...$args){ |
|
141 | + public function __invoke(...$args) |
|
142 | + { |
|
141 | 143 | $this->data = $args[0]; |
142 | 144 | } |
143 | 145 | }; |