Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo committed Feb 27, 2023
1 parent 36a2579 commit 1300f5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function put(string $uri, array $data = [], array $headers = [])

return $this->packer->unpack((string) $response->getBody());
}

public function patch(string $uri, array $data = [], array $headers = [])
{
$response = $this->request('PATCH', $uri, [
Expand Down
4 changes: 2 additions & 2 deletions src/HttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function post(string|UriInterface $uri, array $data = [], array $headers

return $this->packer->unpack((string) $response->getBody());
}

public function put(string|UriInterface $uri, array $data = [], array $headers = [])
{
$response = $this->client->put($uri, [
Expand All @@ -68,7 +68,7 @@ public function put(string|UriInterface $uri, array $data = [], array $headers =

return $this->packer->unpack((string) $response->getBody());
}

public function patch(string|UriInterface $uri, array $data = [], array $headers = [])
{
$response = $this->client->patch($uri, [
Expand Down

0 comments on commit 1300f5c

Please sign in to comment.