From 7db29966819ec7a08356e571f49e2f28b86f3f31 Mon Sep 17 00:00:00 2001 From: fashxp Date: Wed, 16 Nov 2022 12:50:05 +0000 Subject: [PATCH] Apply php-cs-fixer changes --- src/EsClientFactory.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/EsClientFactory.php b/src/EsClientFactory.php index 98eb4cf..6cd7ad4 100644 --- a/src/EsClientFactory.php +++ b/src/EsClientFactory.php @@ -31,27 +31,27 @@ public static function create(LoggerInterface $logger, array $configuration): Cl $builder->setBasicAuthentication($configuration['username'], $configuration['password']); } - if(isset($configuration['cloud_id'], $configuration['api_key'])){ + if (isset($configuration['cloud_id'], $configuration['api_key'])) { $builder ->setElasticCloudId($configuration['cloud_id']) ->setApiKey($configuration['api_key']); } - if(isset($configuration['ca_bundle'])){ + if (isset($configuration['ca_bundle'])) { $builder->setCABundle($configuration['ca_bundle']); } - if(isset($configuration['ssl_key']) && $configuration['ssl_cert']){ + if (isset($configuration['ssl_key']) && $configuration['ssl_cert']) { $builder ->setSSLKey($configuration['ssl_key'], $configuration['ssl_password'] ?? null) ->setSSLCert($configuration['ssl_cert'], $configuration['ssl_password'] ?? null); - if(isset($configuration['ssl_verification'])){ + if (isset($configuration['ssl_verification'])) { $builder->setSSLVerification($configuration['ssl_verification']); } } - if(isset($configuration['http_options'])){ + if (isset($configuration['http_options'])) { $builder->setHttpClientOptions($configuration['http_options']); }