From aafb7934cc86a4a199de68e4f87707c7d6bf46c7 Mon Sep 17 00:00:00 2001 From: imdhemy Date: Sat, 2 Mar 2024 13:46:28 +0100 Subject: [PATCH] chore: code cleanup Signed-off-by: imdhemy --- src/OpenSearch/Client.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/OpenSearch/Client.php b/src/OpenSearch/Client.php index e57d6e9c..91215886 100644 --- a/src/OpenSearch/Client.php +++ b/src/OpenSearch/Client.php @@ -1391,11 +1391,8 @@ public function extractArgument(array &$params, string $arg) * @return callable|array * @throws NoNodesAvailableException */ - public function request( - string $method, - string $uri, - array $attributes = [] - ) { + public function request(string $method, string $uri, array $attributes = []) + { $params = $attributes['params'] ?? []; $body = $attributes['body'] ?? null; $options = $attributes['options'] ?? [];