Skip to content

Commit

Permalink
Merge pull request #181 from Teknasyon-Teknoloji/master
Browse files Browse the repository at this point in the history
iTunes baseUri manipulation for test purposes
  • Loading branch information
Stafox authored Mar 6, 2024
2 parents e2b9a65 + 2ddbf17 commit c188c1b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/iTunes/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,13 @@ public function setRequestOptions(array $request_options): self
*/
protected function getClientConfig(): array
{
$base_uri = ['base_uri' => $this->endpoint];
if (!isset($this->request_options['base_uri'])) {
$base_uri = ['base_uri' => $this->endpoint];

return array_merge($this->request_options, $base_uri);
return array_merge($this->request_options, $base_uri);
}

return $this->request_options;
}

/**
Expand Down

0 comments on commit c188c1b

Please sign in to comment.