From dc762460740961e078c05bfaf20ac6061dff2d4b Mon Sep 17 00:00:00 2001 From: imdhemy Date: Sat, 2 Mar 2024 13:46:28 +0100 Subject: [PATCH] chore: code cleanup --- 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'] ?? [];