diff --git a/src/OpenSearch/Client.php b/src/OpenSearch/Client.php index e57d6e9c5..912158867 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'] ?? [];