Skip to content

Commit

Permalink
Merge pull request #2 from egesu/patch-2
Browse files Browse the repository at this point in the history
Use array_merge instead of array addition
  • Loading branch information
leventcz authored May 30, 2024
2 parents 5c1d676 + 309389c commit 55a1492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/GuzzleHttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private function request(
->request(
$method->name,
$uri,
[
array_merge([
'base_uri' => self::BASE_URI,
'http_errors' => false,
'headers' => [
Expand All @@ -144,7 +144,7 @@ private function request(
],
'query' => $query,
'json' => $body,
] + $this->options,
], $this->options),
);
} catch (Throwable $exception) {
throw new HttpException($exception->getMessage());
Expand Down

0 comments on commit 55a1492

Please sign in to comment.