diff --git a/src/BigBlueButton/Client.php b/src/BigBlueButton/Client.php index bb65011..1766e49 100644 --- a/src/BigBlueButton/Client.php +++ b/src/BigBlueButton/Client.php @@ -7,7 +7,7 @@ namespace sanduhrs\BigBlueButton; -use GuzzleHttp\Client; +use \GuzzleHttp\Client as HTTPClient; use sanduhrs\BigBlueButton\BigBlueButtonException; /** @@ -223,7 +223,7 @@ public function getRaw($call, $options = []) $options += [ 'checksum' => $this->checksum($call, $options), ]; - $response = $this->client->request( + $response = $this->HTTPClient->request( 'GET', $this->url . $this->endpoint . $call, ['query' => $options] @@ -277,7 +277,7 @@ public function postRaw($call, $options = []) $options += [ 'checksum' => $this->checksum($call, $options), ]; - $response = $this->client->request( + $response = $this->HTTPClient->request( 'POST', $this->url . $this->endpoint . $call, ['form_params' => $options]