Skip to content

Commit

Permalink
chore: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
imdhemy committed Mar 2, 2024
1 parent c07c566 commit dc76246
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/OpenSearch/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] ?? [];
Expand Down

0 comments on commit dc76246

Please sign in to comment.