@@ -24,8 +24,7 @@ |
||
24 | 24 | use OCA\FullTextSearch_Elasticsearch\Vendor\Http\Promise\Promise; |
25 | 25 | use OCA\FullTextSearch_Elasticsearch\Vendor\Psr\Http\Message\RequestInterface; |
26 | 26 | use Psr\Log\LoggerInterface; |
27 | -final class Client implements ClientInterface |
|
28 | -{ |
|
27 | +final class Client implements ClientInterface { |
|
29 | 28 | const CLIENT_NAME = 'es'; |
30 | 29 | const VERSION = '8.13.0'; |
31 | 30 | const API_COMPATIBILITY_HEADER = '%s/vnd.elasticsearch+%s; compatible-with=8'; |
@@ -30,8 +30,7 @@ |
||
30 | 30 | use OCA\FullTextSearch_Elasticsearch\Vendor\Psr\Http\Client\ClientInterface; |
31 | 31 | use Psr\Log\LoggerInterface; |
32 | 32 | use ReflectionClass; |
33 | -class ClientBuilder |
|
34 | -{ |
|
33 | +class ClientBuilder { |
|
35 | 34 | const DEFAULT_HOST = 'localhost:9200'; |
36 | 35 | /** |
37 | 36 | * PSR-18 client |
@@ -19,8 +19,7 @@ |
||
19 | 19 | use OCA\FullTextSearch_Elasticsearch\Vendor\Http\Promise\Promise; |
20 | 20 | use OCA\FullTextSearch_Elasticsearch\Vendor\Psr\Http\Message\RequestInterface; |
21 | 21 | use Psr\Log\LoggerInterface; |
22 | -interface ClientInterface |
|
23 | -{ |
|
22 | +interface ClientInterface { |
|
24 | 23 | /** |
25 | 24 | * Get the Elastic\Transport\Transport |
26 | 25 | */ |
@@ -24,8 +24,7 @@ |
||
24 | 24 | use Psr\Log\LoggerInterface; |
25 | 25 | use Psr\Log\NullLogger; |
26 | 26 | use Throwable; |
27 | -class TransportBuilder |
|
28 | -{ |
|
27 | +class TransportBuilder { |
|
29 | 28 | protected ClientInterface $client; |
30 | 29 | protected NodePoolInterface $nodePool; |
31 | 30 | protected LoggerInterface $logger; |