From a2f3bc64bdee5eba98e4397727f1cb86cb166de7 Mon Sep 17 00:00:00 2001 From: Moritz Friedrich Date: Wed, 15 May 2024 13:40:35 +0200 Subject: [PATCH] Ignore additional index option --- src/Factories/ClientFactory.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Factories/ClientFactory.php b/src/Factories/ClientFactory.php index ad37c0d..20c6358 100644 --- a/src/Factories/ClientFactory.php +++ b/src/Factories/ClientFactory.php @@ -41,6 +41,8 @@ public function createClient(array $config): Client $config['logger'] = $this->logger; } + unset($config['index']); + return ClientBuilder::fromConfig($config); } }