Skip to content

Conversation

@Ahmedd-Ibrahim
Copy link

Allow Oauth Instead of authToken

src/Client.php Outdated
if ($httpClient && $this->requestOptions) {
throw new \InvalidArgumentException('If argument 4 is provided, argument 5 must be omitted or passed with an empty array as value');
}
$requestOptions += ['base_uri' => self::ENDPOINT, RequestOptions::HTTP_ERRORS => false];

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix this line, make it like this

$this->requestOptions += ['base_uri' => self::ENDPOINT, RequestOptions::HTTP_ERRORS => false];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants