Completed
Pull Request — master (#370)
by Maxence
02:03
created
lib/Vendor/Elastic/Elasticsearch/Client.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,7 @@
 block discarded – undo
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';
Please login to merge, or discard this patch.
lib/Vendor/Elastic/Elasticsearch/ClientBuilder.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,8 +30,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
lib/Vendor/Elastic/Elasticsearch/ClientInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
lib/Vendor/Elastic/Transport/TransportBuilder.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.